home *** CD-ROM | disk | FTP | other *** search
/ Danny Amor's Online Library / Danny Amor's Online Library - Volume 1.iso / html / faqs / faq / hp-faq < prev    next >
Text File  |  1995-07-25  |  103KB  |  2,843 lines

  1. Subject: comp.sys.hp.hpux FAQ
  2. Newsgroups: comp.sys.hp.hpux,comp.sys.hp.misc,comp.sys.hp.hardware,news.answers,comp.answers
  3. From: gcagle@dracula.mentorg.com (Greg Cagle)
  4. Date: 10 Aug 1994 20:31:55 GMT
  5.  
  6. Archive-name: hp-faq
  7. Last-modified: 1994/8/10
  8. Version: 3.1
  9.  
  10. comp.sys.hp.hpux FAQ (Frequently Asked Questions)
  11.  
  12. Subject: 1. INTRODUCTION
  13.  
  14. This article contains the answers to Frequently Asked Questions (FAQ) seen in
  15. the Internet newsgroup comp.sys.hp.hpux. Issues may also be discussed in
  16. comp.sys.hp.apps, comp.sys.hp.misc, and comp.sys.hp.hardware. Discussion in
  17. this document centers around Hewlett-Packard computer systems running  the
  18. HP-UX operating system; the focus tends to be on the series 700  workstations,
  19. although topics are also applicable to series 800 machines, and to a lesser
  20. degree, series 300 and 400 machines. It is posted twice monthly, on the 
  21. 1st and the 15th of the month. 
  22.  
  23. This article is Copyright 1994 by Greg Cagle.  It may be freely redistributed 
  24. in its entirety provided that this copyright notice is not removed.  It may 
  25. not be sold for profit or incorporated in commercial documents without the 
  26. written permission of the copyright holder.  Permission is expressly granted 
  27. for this document to be made available for file transfer from installations 
  28. offering unrestricted anonymous file transfer on the Internet. This article is 
  29. provided as is without any express or implied warranty. The content of this 
  30. article is the sole responsibility of the author and contributors, and does 
  31. not necessarily represent their employers, Mentor Graphics, or Hewlett-Packard.
  32.  
  33. Refer to question 3.1 for details on where to get this FAQ.
  34.  
  35. This FAQ is written in "minimal digest format". You can skip from one 
  36. section to the next by pressing ^G in many newsreaders, such as rn, trn 
  37. and strn (but not nn).
  38.  
  39. Questions marked with a "+" are new to this issue, and questions with changes
  40. since the last issue are marked by a "!".
  41.  
  42. Submissions, corrections, comments, input, complaints, attaboys, large amounts 
  43. of money, etc., should be directed to Greg Cagle <greg_cagle@mentorg.com>.
  44.  
  45. ------------------------------
  46.  
  47. Subject: 2. TABLE OF CONTENTS
  48.  
  49. 1. INTRODUCTION
  50. 2. TABLE OF CONTENTS
  51. 3. FINDING INFORMATION
  52. 3.1  Where can I get a copy of this FAQ file?
  53. 3.2  Courses on HP-UX
  54. 3.3  Interex, The International Association of HP Computer Users
  55. 3.4  InterWorks, The International HP Workstation Users Group
  56. 3.5  Interex HP Users Conferences 1994
  57. 3.6  InterWorks Conference 1994
  58. 3.7  HP/Works
  59. 3.8  HP/Works Conferences
  60. 3.9  Japanese HP Computer Users Association
  61. 3.10  German HP User Group
  62. 3.11  HP-UX publicly available software from InterWorks.
  63. 3.12! Anonymous FTP Sites for HP-UX, and UNIX related software.
  64. 3.13  Where can I get a demo CD with software for HP-UX?
  65. 3.14  HP-UX patch information
  66. 3.15  How can I send mail to an "hpdesk" address?
  67. 3.16  What are the known issues with porting BSD-based programs to HP-UX?
  68. 3.17  What periodicals are available that focus on HP-UX?
  69. 3.18  Books on HP-UX
  70. 3.19  HP-UX Sysadmin Mailing List
  71. 3.20! HP-related WWW Sites
  72. 3.21! Who is this George Carter and how do I get rid of his posts?
  73. 3.22+ HP 500 Mailing List
  74. in the line.
  75. 4. THIRD PARTY VENDORS
  76. 4.1  Third party vendors for RAM.
  77. 4.2  Third party vendors for other things
  78. 5. UTILITIES
  79. 5.1  ASCII to Postscript converter.
  80. 5.2  How do I make perl on HP-UX?
  81. 5.3  What is the status of the various gnu items on HP-UX?
  82. 6. X WINDOW SYSTEM, MOTIF, AND HP-VUE
  83. 6.1  X11 libraries (Athena, etc.) and utilities (imake, etc.).
  84. 6.2  How can I display an image on the root window with HP-VUE?
  85. 6.3  How do I get a scroll bar on hpterms?
  86. 6.4  How can I put a title in my hpterm titlebar?
  87. 6.5  How come my hpterms keep going away by themselves?
  88. 6.6  How come my HP X/Motif clients take a LONG time to display on a Sun?
  89. 6.7  How can I get my login stuff to work under HP-VUE?
  90. 6.8  How can I get console messages to go to an hpterm?
  91. 6.9  What happened to the vuewm key accelerators at VUE 3.0?
  92. 6.10  How come I can no longer disable the caps lock key with xmodmap?
  93. 6.11  How come vi behaves strangely in xterms at 9.01?
  94. 6.12  How do I disable HP-VUE?
  95. 6.13  What's a good termcap entry for hpterm?
  96. 6.14  My screen is wedged. What should I do?
  97. 6.15  How can I get an X client to come up in an alternate workspace?
  98. 6.16  How can I get HP-VUE to not override colors?
  99. 6.17  How can I override the system default printer in vuepad?
  100. 6.18  What about X11R6?
  101. 6.19  How can I set user-specific app-defaults in HP-VUE?
  102. 7. OPERATING SYSTEM
  103. 7.1  Can I have filenames longer than 14 chars?
  104. 7.2  How can I tell what products have been loaded on my system?
  105. 7.3  How do I safely remove software from my system?
  106. 7.4  What's the scoop on HP-UX 9.03/9.04?
  107. 7.5  How come HP-UX doesn't support NFS root access?
  108. 7.6  How can I change the order of hostname resolution?
  109. 7.7  How come the LOGnnnn files in /usr/adm keep growing and growing?
  110. 7.8  How come I can't lock mail or other files on a Sun?
  111. 7.9  Why are mail files in /usr/mail are owned by daemon instead of the recipient?
  112. 7.10  How can I tell if I need more than a 2-user license?
  113. 7.11  How can I tell what patches are in the kernel?
  114. 7.12  How come I have to hit return after control-d in the Korn shell?
  115. 7.13  How do I boot into single user mode?
  116. 7.14  How come my Korn shell login hangs?
  117. 7.15  How can I avoid those annoying copyright notices on login?
  118. 7.16  How can I turn off quota checking?
  119. 7.17  What are the issues with HP-UX 9.01?
  120. 7.18  Why does chown behave differently at 9.x?
  121. 7.19  How can I track log files and core files?
  122. 7.20  How much memory can a process use?
  123. 7.21  How come there's little discussion of DCE?
  124. 7.22  How can I make a ramdisk?
  125. 7.23  How come I can't lock files across NFS after upgrading to 9.01?
  126. 7.24  What's a good strategy for clearing /tmp?
  127. 7.25  How can I change the timezone?
  128. 7.26  How can I look at what my system is doing?
  129. 7.27  How can I partition HP-UX disks on 700s?
  130. 7.28  How can I print man pages successfully?
  131. 7.29! How can I limit core files?
  132. 7.30  Can I put more than one backup on DDS with fbackup?
  133. 7.31  How can I load multiple patches on a machine at the same time?
  134. 7.32  How can I set up an HP-UX workstation as an X terminal?
  135. 7.33  What causes "Unable to initialize MI" when running Glance?
  136. 7.34  How come I can't get all of my swap space?
  137. 7.35  How come I can't start my Aserver?
  138. 7.36  How can I get a daemon to successfully start from /etc/rc?
  139. 7.37  How come my /dev/null keeps getting blown away?
  140. 7.38  How can I track network packets?
  141. 7.39  How come my processes keep dying at 67M memory usage?
  142. 7.40  Is it possible to artificially limit the memory size?
  143. 7.41+ How come my alt key combinations don't work in emacs X mode?
  144. 7.42+ I can't get Flex LM based licensing to work.
  145. 8. COMPILERS AND LINKERS
  146. 8.1  What's a P-FIXUP error?
  147. 8.2  Where is regcmp on HP-UX?
  148. 8.3  How come the default C compiler is brain-dead?
  149. 8.4  How do I deal with "too many defines"?
  150. 8.5  How come I get "_builtin_va_start" undefined when I build with gcc?
  151. 8.6  How can I tell if something was built debuggable?
  152. 8.7  Is there some kind of problem with using FLT_MIN in ANSI mode?
  153. 8.8  What's the deal with _INCLUDE_xxxx_SOURCE?
  154. 8.9  How come I need to explicitly specify -I/usr/include?
  155. 8.10  Is there an equivalent for getrusage()?
  156. 9. HARDWARE AND PERIPHERALS
  157. 9.1  Are alternate keyboards available for HP workstations?
  158. 9.2  How can I play audio CDs on an HP workstation?
  159. 9.3  How can I enable the LAN interface on a 700?
  160. 9.4  How can I get an Exabyte to work on an HP?
  161. 9.5  Is there a "node ID" on 700s?
  162. 9.6  How can I get a stuck DDS tape out of the drive?
  163. 9.7  How can I use dump with a DDS tape?
  164. 9.8  What is the correct major number for DDS drives on 9.x?
  165. 9.9  How can I set up /dev/audio to point to the external jack on a 700?
  166. 9.10  How can I configure the parallel port handshake on a 700?
  167. 9.11  What are the specs of the audio hardware on the 700 series?
  168. 9.12  What are the various revisions of PA-RISC?
  169. 9.13  How do I read an SGI-written tar format DDS tape?
  170. 9.14! Is there a trackball for the 700?
  171. 9.15  Where can I get disktab entries for third party disks?
  172. 9.16  Do I need to terminate the internal SCSI on a 700?
  173. 10. LOOKING FOR...
  174. 10.1  Where did xline go at 9.x?
  175. 10.2  How about the VUE 2.01 man page help index?
  176. 10.3  Is there anything remotely like the Apollo DM available?
  177. 10.4! Where can I get SLIP for HP-UX?
  178. 10.5  Where can I get pcnfsd on HP-UX?
  179. 10.6  Where can I get ppp for HP-UX?
  180. 10.7! Where can I get STREAMS for HP-UX?
  181. 10.8  What about POSIX threads?
  182. 10.9+ Where can I get Interviews for HP-UX?
  183. 10.10+ Where can I get POP for HP-UX?
  184. 10.11+ Where can I get sudo for HP-UX?
  185.  
  186. ------------------------------
  187.  
  188. Subject: 3. FINDING INFORMATION
  189.   
  190. ------------------------------
  191.  
  192. Subject: 3.1  Where can I get a copy of this FAQ file?
  193.  
  194. Many FAQs, including this one, are available via FTP on the Internet
  195. FAQ archive site:
  196.  
  197.   ftp://rtfm.mit.edu/pub/usenet/news.answers/hp-faq
  198.  
  199. This FAQ is also archived on the Interworks archive machine:
  200.  
  201.   ftp://iworks.ecn.uiowa.edu/pub/comp.hp
  202.  
  203. HTML versions of this document are available at:
  204.  
  205.   http://www.cis.ohio-state.edu/hypertext/faq/usenet/hp-faq/faq.html
  206.   http://www.csc.liv.ac.uk/FAQ/  
  207.   http://support.mayfield.hp.com
  208.  
  209. You can FTP the html version from:
  210.  
  211.   ftp://supportnet.mentorg.com/pub/mentortech/mgc_env/examples/HP-UX/faq.html.tar.Z
  212.   
  213. You can also get it by e-mail from mail-server@rtfm.mit.edu; send the
  214. text "send usenet/news.answers/hp-faq".
  215.  
  216. The FAQ is also included with the InterWorks software CD-ROM, the Interex CSL, 
  217. and the Walnut Creek Internet CD-ROM. Note that these versions were current 
  218. when the respective distributions were frozen.
  219.  
  220. A Japanese version of this document is available from CUA (HP Computer
  221. Users Association); send mail to <tagami@hpujuu01.yhp.hp.com>. The
  222. translation was done by Masataka Isoya.
  223.  
  224. If all else fails, contact the maintainer (greg_cagle@mentorg.com).
  225.   
  226. ------------------------------
  227.  
  228. Subject: 3.2  Courses on HP-UX
  229.  
  230. Call the following numbers for information or the latest HP Education Catalog.
  231. U.S.:    1-800-HPCLASS {1-800-472-5277}
  232. Canada:  (416)678-9430
  233.   
  234. ------------------------------
  235.  
  236. Subject: 3.3  Interex, The International Association of HP Computer Users
  237.  
  238. Interex is the International Association of HP Computer Users and the largest HP
  239. user group in the world.  The organization is more than 19 years old with
  240. thousands of members worldwide.  It represents HP users of all kinds including
  241. HP9000, HP3000, HP1000, and Vectra PC's with annual conferences attracting
  242. vendors from all over the world.  Interex publishes "Interact" for the HP3000
  243. and Vectra PC user, "hp-ux/usr" for the HP9000 user and a realtime operating
  244. system newsletter for the HP1000 users.
  245.  
  246. There are many regional users groups, many holding annual or semiannual
  247. conferences, and Interex has a collection of software (with sources)  covering
  248. MPE, HP-UX and RTE called the Contributed Software Library.
  249.  
  250. To contact Interex:
  251.    (800) INT-EREX  or (800) 468-3739
  252.    or:  (408) 747-0227
  253.    fax: (408) 747-0947
  254.    email: ehrhardt@interex.org   .. editor of hp-ux/usr magazine
  255.           pubs@interex.org       .. Circulation/advertising
  256.           membership@interex.org .. membership inquiries
  257.           cslhpux@interex.org    .. contributed software library (hp-ux)
  258.    Compuserve:  76376,1222
  259.    Address:  Interex                   Interex  (for US mail)
  260.              1192 Borregas Avenue.     P.O. Box 3439
  261.              Sunnyvale, CA 94088       Sunnyvale, CA  94088-3439
  262.   
  263. ------------------------------
  264.  
  265. Subject: 3.4  InterWorks, The International HP Workstation Users Group
  266.  
  267. InterWorks, formerly the Apollo Domain User's Society (ADUS), was formed to
  268. provide a users group specifically for HP _workstation_ users. The group
  269. publishes a quarterly newsletter, "The Works", holds an annual conference (see
  270. below), and maintains a library of HP-UX (and DOMAIN) software (see below).
  271. Membership is free; please contact Carol Relph for more information:
  272.  
  273. Carol Relph
  274. Manager, Member Services
  275. InterWorks, Inc.
  276. c/o Hewlett-Packard Company
  277. Workstation Business Unit
  278. 300 Apollo Drive, Mailstop IWORKS
  279. Chelmsford, MA  01824-3623
  280. (508)256-6600
  281. E-Mail:  relph_c@apollo.hp.com
  282.   
  283. ------------------------------
  284.  
  285. Subject: 3.5! Interex HP Users Conferences 1994
  286.  
  287. For more information, please contact the INTEREX Conference Department
  288. at the above address. It's 9/18 - 9/22 in Denver.
  289.   
  290. ------------------------------
  291.  
  292. Subject: 3.6  InterWorks Conference 1994
  293.  
  294. The next InterWorks conference is to be held 5/7/95 - 5/12/95 at The Pointe
  295. in Phoenix, Arizona. 
  296.   
  297. ------------------------------
  298.  
  299. Subject: 3.7  HP/Works
  300.  
  301. HP/Works is basically the UK equivalent of InterWorks - catering for users
  302. of HP workstations running both HP-UX and Domain/OS. Full membership
  303. details are avaiable from:-
  304.  
  305.     Helen Grainger,
  306.     PO Box 47,
  307.     Bicester,
  308.     United Kingdom +44 (0)869 321080
  309.  
  310. or by e-mail to J.G.Owen@bham.ac.uk
  311.  
  312. ------------------------------
  313.  
  314. Subject: 3.8  HP/Works Conferences
  315.  
  316. September 1994 (date to be fixed) - SYS-ADMIN SIG workshop at Liverpool
  317.       University on "Accessing the Internet"
  318.  
  319. 22nd and 23rd November 1994 - Autumn Conference at St.John's Swallow Hotel
  320.       Solihull on the theme of Today, Tomorrow, The Future
  321.  
  322. Details can be obtained from either Helen Grainger or by e-mail via 
  323. j.g.owen@bham.ac.uk.
  324.  
  325. ------------------------------
  326.  
  327. Subject: 3.9  Japanese HP Computer Users Association
  328.  
  329. In Japan, the HP users group is called CUA (Computer Users Association);
  330. for information, contact <tagami@hpujuu01.yhp.hp.com>.
  331.  
  332. ------------------------------
  333.  
  334. Subject: 3.10  German HP User Group
  335.  
  336. In Germany, the HP user group is called "Deutsche HP-Benutzergruppe e.V.";
  337. contact Mario Beckmann <beckmann@com1.dwhl.de> for information.
  338.  
  339. ------------------------------
  340.  
  341. Subject: 3.11  HP-UX publicly available software from InterWorks.
  342.  
  343. Dave Shaw is the Interworks librarian. He maintains a library of publicly
  344. available HP-UX related software on behalf of the InterWorks User Group. He can
  345. be reached at (303)443-9413 or via e-mail at <librarian@iworks.ecn.uiowa.edu>.
  346. The following text is provided by Dave. See the README mentioned below for
  347. details.
  348.  
  349. There is an archive of UX-related software on the InterWorks library node
  350. (iworks.ecn.uiowa.edu--128.255.18.10). Note that everything is available  via
  351. anonymous ftp in the pub/comp.hp directory 
  352. (ftp://iworks.ecn.uiowa.edu/pub/comp.hp). The README there contains a 
  353. complete list of the available software.
  354.  
  355. The third InterWorks software CD, which contains the library as it was in
  356. mid-March 1994, plus many items selected from other internet sites (including
  357. much of the software available via the Liverpool archive), is now available. A
  358. list of the contents is on the iworks node in the pub/comp.hp directory as
  359. README.CD. HP ships the InterWorks CD as part of their standard CD-media kit.
  360. This version of our CD should begin shipping with that kit later this summer.
  361. In the meantime, the CD is also available through InterWorks for $75.00 in the
  362. U.S. and $85.00 outside. Send a check or money-order (payable at a U.S. bank)
  363. made out to:
  364.   InterWorks
  365. to:
  366.   Carol Relph
  367.   HP-InterWorks
  368.   300 Apollo Drive
  369.   Chelmsford, Ma. 01824
  370.  
  371. All of the archive is suitable for the 700 series machines, and I have started
  372. to verify that. Executables are included in some packages. If you take a package
  373. and find that you must build an executable (or do some porting) for your machine
  374. and/or OS level, I would appreciate hearing about your work and receiving a copy
  375. of the executable you built.
  376.  
  377. Note that I have had very little involvement in the writing or packaging  of any
  378. of the items on the list-- they are the result of the work of many  other
  379. people. In particular, note that the available binaries have not been compiled
  380. by me. If you are concerned about running binaries compiled by someone else,
  381. build them yourself with the available source. Also note  that individual
  382. authors may include text regarding the rights of others to use and distribute
  383. their code. 
  384.  
  385. Thanks to all the contributors.
  386.   
  387. ------------------------------
  388.  
  389. Subject: 3.12! Anonymous FTP Sites for HP-UX, and UNIX related software.
  390.  
  391. Site:      ftp://iworks.ecn.uiowa.edu/pub/comp.hp
  392. Contents:  The InterWorks HP-UX Library in the directory "pub/comp.hp" as
  393.            described above. The iworks node also keeps the last 4-6 
  394.            months of comp.sys.hp.hpux online (via an InterWorks member logon 
  395.            (see question 3.4 above). An archive going back to June 1990 
  396.            is available-- contact the InterWorks librarian for details.
  397.            Additionally, a large (~1300 line) "HP-UX Troubleshooting
  398.            Guide" is available under the InterWorks member logon.
  399.  
  400. Name:      ftp://ftp.csc.liv.ac.uk
  401. Contents:  633 packages ported to HP-UX 8.07, 9.01 and 9.03
  402.  
  403. Here is an overview of ftp.csc.liv.ac.uk as of Wed 10 Aug 1994:
  404. (The 2 most recently installed packages in each category are in brackets)
  405.  
  406.  56 packages in /hpux9/X11R5/Graphics   (xli-1.16 xpm-3.4c)
  407.  53 packages in /hpux9/Games            (xtmines-1.2.1 xbattle-4.0)
  408.  51 packages in /hpux9/X11R5/Misc       (xmotd-1.0 xless-1.7)
  409.  34 packages in /hpux9/Networking       (glimpseHTTP-1.0 chimera-1.54)
  410.  30 packages in /hpux9/X11R5/Demos      (xstones-1.0 xneko-2.00)
  411.  27 packages in /hpux9/Gnu              (flex-2.4.7 readline-2.0)
  412.  25 packages in /hpux9/X11R5/Toolkits   (auis_built-6.3 auis-6.3.part05)
  413.  25 packages in /hpux8/X11R4/Misc       (xsky-2.01 xvertext-5.0)
  414.  22 packages in /hpux9/Sysadmin         (dmon-1.6.6 md5-1.00)
  415.  20 packages in /hpux9/X11R5/Networking (llnlxftp-2.0.3 xforward-1.0)
  416.  20 packages in /hpux9/Misc             (glimpse-1.0 obsfuscate93-1.0)
  417.  19 packages in /hpux9/Maths/Misc       (ffts_in_C-1.0 eigen-1.01a)
  418.  18 packages in /hpux8/Networking       (netperf-1.7.1 tftpd-1.0)
  419.  17 packages in /hpux9/X11R5/Core       (imake-5.04 xdpyinfo-1.17)
  420.  15 packages in /hpux9/Text             (man2html-1.0 bibview-2.1)
  421.  15 packages in /hpux8/X11R4/Demos      (xball-3.0 xspringies-1.1)
  422.  14 packages in /hpux9/Users            (zsh-2.5.02 less-200.magic.1)
  423.  14 packages in /hpux9/Editors          (aXe-6.1.2 aXe-6.1.1)
  424.  14 packages in /hpux8/X11R4/XView3     (workman-1.2.2a ftptool-4.6b3)
  425.  13 packages in /hpux8/X11R4/Toolkits   (andrew-5.1.part04 eXene-0.4)
  426.  12 packages in /hpux9/Maths/LinAlgebra (rlab.all-0.99i rlab-0.99i)
  427.  11 packages in /hpux8/Misc             (gaps-5.11 csound-2.00b)
  428.  10 packages in /hpux8/Games            (tankhunt-0.0.4 xics-2.2)
  429.   9 packages in /hpux9/Languages        (swi-1.8.9 sgmls-1.1)
  430.   9 packages in /hpux8/Maths/Misc       (gap.README-3.3 cdflib.f-1.4)
  431.   8 packages in /hpux8/X11R4/Graphics   (xv-2.21 xscribble-a6)
  432.   8 packages in /hpux8/Sysadmin         (rpasd-2.0 pltools-2.0.2)
  433.   8 packages in /hpux8/Languages        (gofer-2.28b scheme-7.1.3)
  434.   7 packages in /hpux9/Physics          (asa-3.15 ff-1.9)
  435.   7 packages in /hpux8/X11R5            (XR5src-5.23.part01 XR5built-5.23)
  436.   7 packages in /hpux8/X11R4/Networking (adcmail-0.9 collage-1.0b)
  437.   7 packages in /hpux8/Text             (tr2latex-2.2a TeX-3.14)
  438.   6 packages in /hpux9/NeuralNets       (lee-1.1 neuralnet-2.0)
  439.   6 packages in /hpux8/NeuralNets       (am-6.0 GAucsd-1.4)
  440.   5 packages in /hpux8/X11R4/Core       (MITlib-4.00 xlsclients-1.5)
  441.   5 packages in /hpux8/Users            (xmodem-3.9 es-0.84)
  442.   4 packages in /hpux9/X11R6/Core       (XR6built-6.02 XR6src-6.02.part03)
  443. =======================================
  444. 631 packages in total
  445.  
  446. Name:      http://www.csc.liv.ac.uk/intro.html
  447. Contents:  WWW interface to the Liverpool archive
  448.  
  449. Name:      gopher://gopher.csc.liv.ac.uk
  450. Contents:  Gopher interface to the Liverpool archive
  451.  
  452. Name:      wais://www.csc.liv.ac.uk/hpux
  453. Contents:  WAIS interface to the Liverpool archive
  454.  
  455. There is also a mail server at mail-server@csc.liv.ac.uk for users without FTP.
  456.  
  457. Name:      ftp://hpux.ask.uni-karlsruhe.de
  458. Contents:  The official German mirror site of ftp.csc.liv.ac.uk
  459.  
  460. Name:      ftp://ftp.cae.wisc.edu
  461. Contents:  The official US mirror site of ftp.csc.liv.ac.uk
  462.  
  463. Name:      ftp://hpux.cict.fr
  464. Contents:  The official French mirror site of ftp.csc.liv.ac.uk
  465.  
  466. Site:      ftp://ftp.prz.tu-berlin.de 
  467. Contents:  Much of the Liverpool archive.
  468.  
  469. Site:      ftp://export.lcs.mit.edu
  470. Contents:  The X Window System and contributed clients.
  471.  
  472. Site:      ftp://hpcvaaz.cv.hp.com
  473. Contents:  X Window System libraries and utilities.
  474.            ftp://hpcvaaz.cv.hp.com/pub/700RX/released/b0502 
  475.            contains the latest version of the 700RX software.  There are 
  476.            subdirectories for HP-UX hosts, Solaris and SunOS.
  477.            
  478. Site:      ftp://ftpboi.external.hp.com
  479. Contents:  Drivers for HP printers.
  480.            
  481. Site:      ftp://lut.fi/pub/hpux
  482.            ftp://lut.fi/pub/unix/hp-ux
  483. Contents:  Various
  484.  
  485. Site:      ftp://nic.funet.fi/pub/unix/arch/hpux
  486. Contents:  Various
  487.  
  488. Site:      ftp://prep.ai.mit.edu
  489. Contents:  The Free Software Foundation's GNU utilities, etc.
  490.  
  491. Site:      ftp://hybrid.irfu.se/pub
  492. Contents:  X11 archive and shared libraries, full imake support,
  493.            and all missing .h files for both X11R4 and R5, dvi2pcl.
  494.  
  495. Site:      ftp://geod.emr.ca
  496. Contents:  GNU stuff ported to HP-UX 9.x by Pierre Mathieu.
  497.  
  498. Site:      ftp://col.hp.com
  499. Contents:  netperf, a network performance measurement tool.
  500.  
  501. Site:      ftp://jazz.gsfc.nasa.gov
  502. Contents:  bathymetry, FFT, graph, pgplot, triangulation, sortroutine
  503.  
  504. Site:      ftp://supportnet.mentorg.com/pub/mentortech/mgc_env/example/HPUX
  505. Contents:  Recommended patch list, this FAQ
  506.  
  507. Site:      ftp://support.mayfield.hp.com
  508. Contents:  HP-UX patches available from FTP for SupportLine customers.
  509.  
  510. Site:      ftp://patch.external.hp.com
  511. Contents:  European mirror of support.mayfield.hp.com
  512.  
  513. Site:      ftp://jaguar.cs.utah.edu/dist
  514. Contents:  FSF compiler/assembler/debugger tools. Code usually
  515.            has PA specific bugfixes/enhancements not yet in the 
  516.            official FSF releases.  Source and binaries available.
  517.            hpux-symtab.h has symbolic debug format documentation.
  518.            hpgdb.patch has a gdb patch for HP compilers.
  519.  
  520.            Currently available in the "dist" directory:
  521.  
  522.            GDB 4.11.u2     - Last update 12/04/93
  523.            HPGDB 4.11.u2   - Last update 12/04/93
  524.            GAS 2.2.u2      - Last update 12/04/93
  525.            GCC 2.5.6.u4    - Last update 12/04/93
  526.            LIBG++ 2.5.2.u2 - Last update 12/04/93
  527.  
  528.            Yes, you see gas-2.2; the first cut at a BFD based SOM assembler 
  529.            for the PA is ready for external use.  Release notes are in 
  530.            README.gas.
  531.  
  532.            The prebuilt binaries can be retrieved all at once from 
  533.            hpuxbin.tar.Z, or in pieces from the hpuxbin directory.
  534.  
  535. Site:      ftp://ftp.cs.colorado.edu/pub/sysadmin/utilities/
  536. Contents:  sudo in cu-sudo.v1.3.1-beta9.tar.Z
  537.  
  538. ------------------------------
  539.  
  540. Subject: 3.13  Where can I get a demo CD with software for HP-UX?
  541.  
  542. See your friendly local HP sales rep to get a copy of the "Power On II" CD.
  543. Additionally, they were distributed to Interworks 94 attendees. Be sure 
  544. and check out the Drive demo.
  545.   
  546. ------------------------------
  547.  
  548. Subject: 3.14  HP-UX patch information
  549.  
  550. To determine what patches are installed:
  551.  
  552. The standard patch installation will leave a directory in /system
  553. that is is name of the patch.  For example, PHSS_3259 creates
  554.  
  555. /system/PHSS_3259
  556.  
  557. $lsf /system/PHSS_3259
  558. CDFinfo     copyright   customize*  index       new/        orig/
  559.  
  560. The orig directory contains the modules that were replaced by the  patch and the
  561. new directory will contain any modules that were not installed for whatever
  562. reason.  
  563.  
  564. This can take up a lot of space, so you may want to archive  this directory and
  565. remove the new and orig sub-directories.  You may want to leave the customize
  566. file because it has a list of the modules replaced. To see the list do:
  567.  
  568.    grep Patch customize | grep -v \#
  569.  
  570. Another place to look is in /etc/filesets:
  571.  
  572. $ls /etc/filesets/PHSS*
  573. /etc/filesets/PHSS_1644  /etc/filesets/PHSS_2695  /etc/filesets/PHSS_3060
  574. ...
  575. /etc/filesets/PHSS_2686  /etc/filesets/PHSS_3032  /etc/filesets/PHSS_3328
  576.  
  577. If someone has removed the /system/PHSS* directories and the PHSS*
  578. entries in /etc/filesets, there is no easy way to tell what patches
  579. are installed.  You can tell if a given patch has been installed by
  580. comparing what(1) and sum(1) outputs with those given in the 
  581. PHSS_nnnn.text file. Refer to question 7.11 about kernel patches. 
  582.  
  583. How to get patches:
  584.  
  585. There are three ways to get patches.
  586.  
  587. If you have a support contract you can call the Response Center (800-633-3600)
  588. and have the patches sent to you on magnetic media.
  589.  
  590. If you have Basic support or Response Center support you can access the Support
  591. Line (ftp://support.mayfield.hp.com, ftp://192.6.148.19) and download patches 
  592. via ftp, uucp, or kermit. The access can be modem or internet.
  593.  
  594. Regardless of the support you have, you can get patches via e-mail via the
  595. SupportLine mail service. To get the user guide, send e-mail to
  596. <support@support.mayfield.hp.com>, with "send guide" in the text portion of the
  597. message. No subject is required. The result is nroff-formatted; to get the plain
  598. ASCII version, use "send guide.txt". In addition to patches, you can also access
  599. online problem solving information, subscribe to mailing lists, and get
  600. documents. One interesting service is the obsolete patch map; to get
  601. it, send "send hp-ux_obs_patch_list" to the mail server.
  602.  
  603. John Morris of the Atlanta Response Center posts a weekly list of  new patches
  604. to comp.sys.hp.hpux on Mondays.  It tells what's new and what patches are 
  605. replaced by the new patches, along with sizes.
  606.  
  607. A list of recommended patches for critical parts of 9.x is available for FTP at
  608. supportnet.mentorg.com (see above for address and path), and is posted
  609. as it changes to comp.sys.hp.hpux and other relevant newsgroups.
  610.  
  611. ------------------------------
  612.  
  613. Subject: 3.15  How can I send mail to an "hpdesk" address?
  614.  
  615. For a person whose DESK address is:
  616.   JANE DOE /HP1234/XY
  617.  
  618. Ignore the subentity (XY) and use the form:
  619.   jane_doe@hp1234.desk.hp.com
  620.  
  621. Send them a test message and tell them to make a note of the return address,
  622. as forming internet addresses on DESK is a little more complicated.  If
  623. there is an X.400 system between you and the DESK person, what you get back
  624. may look like a very strange internet address, but it generally works.
  625.  
  626. Notice the underscore between names.  Names can be first_last or last_first, but
  627. first_last is easier to remember and get correct, especially if they have
  628. initials in their name as in fred_l_doe@hpatc1.desk.hp.com.  Be sure that the
  629. DESK address they give you is exactly what is reported by DESK when they send a
  630. message to themselves or look at the distribution list on a piece of mail the
  631. recipient already has to verify the address.
  632.  
  633. (Thanks to Bob Niland and Bill Hassell)
  634.   
  635. ------------------------------
  636.  
  637. Subject: 3.16  What are the known issues with porting BSD-based programs to HP-UX?
  638.  
  639. Mike Peterson <system@alchemy.chem.utoronto.ca> periodically posts
  640. his list of BSD-HP tricks to comp.sys.hp.hpux. It is also archived on the
  641. iworks FTP site (mentioned above) as "hptricks".
  642.   
  643. ------------------------------
  644.  
  645. Subject: 3.17  What periodicals are available that focus on HP-UX?
  646.  
  647. o Interworks publishes The Works, a user group newsletter for Interworks
  648.   members.
  649.  
  650. o Interex publishes hp-ux/usr, an HP-UX focused newsletter.
  651.  
  652. o HP Professional (The Magazine for Hewlett-Packard Enterprise Computing)
  653.  
  654.   This magazine covers MPE, HP-UX, PCs, peripherals and Networking for
  655.   HP users.  Its focus is on both commercial as well as technical
  656.   computing. It is published by:
  657.           Cardinal Business Media, Inc.
  658.           101 Witmer Road
  659.           Horsham, PA 19044
  660.           (215) 957-1500     FAX: (215) 957-1050
  661.    email: simpson@cardinal.com (editor-in-chief)
  662.       
  663. o The HP Chronicle (The Independent Newspaper for HP Computer Users)
  664.     
  665.   This tabloid-sized newspaper contains news from HP and other vendors 
  666.   of compatible hardware, software and peripherals. Published by:
  667.                Publications and Communications, Inc
  668.                12416 Hymeadow Drive
  669.                Austin, TX  8750-1896
  670.                (512) 250-9023    Fax: (512) 231-3900
  671.                email: {cs.utexas.edu, execu, texbell}!pcinews!wks
  672.                Compuserve: 76011,307
  673.                MCI mail: PCI
  674.                EasyLink: 62755060
  675.  
  676. o HP/Apollo Workstation
  677.  
  678.   A magazine that focuses specifically on HP/Apollo workstations.
  679.   Published by PCI (same as HP Chronicle).
  680.   
  681. o Open Systems Today (general Unix and other "open systems" weekly)
  682.   has a regular "HP Focus" section.
  683.   
  684. o Unix Review covers general Unix topics monthly.
  685.  
  686. (Thanks to Bill Hassell, HP, for most of this)
  687.   
  688. ------------------------------
  689.  
  690. Subject: 3.18  Books on HP-UX
  691.  
  692. A recently published book on HP-UX system administration:
  693.  
  694.   'The HP-UX System Administrator's "How To" Book'
  695.    by Marty Poniatowski
  696.      Prentice-Hall
  697.      ISBN 0-13-099821-4
  698.      
  699. If you're serious about adminstering HP-UX workstations, get this book.
  700. Unfortunately, it fails to mention the Internet or this FAQ as
  701. alternate resources, but it does discuss Interworks and Interex.
  702.      
  703. (Thanks to Mike Taylor, HP)
  704.  
  705. ------------------------------
  706.  
  707. Subject: 3.19  HP-UX Sysadmin Mailing List
  708.  
  709. Bart Muyzer runs an HP-UX system administration mailing list. To reach 
  710. ALL MEMBERS of the list, send e-mail to <hpux-admin@cv.ruu.nl>; to SUBSCRIBE, 
  711. send mail to <hpux-admin-request@cv.ruu.nl>. The following commands (in the 
  712. subject line) can be handled automatically by the administrative request 
  713. filter processor <hpux-admin-request@cv.ruu.nl>:
  714.  
  715.     subscribe       - to subscribe yourself to the list
  716.     unsubscribe     - to unsubscribe yourself from the list
  717.     members         - to get a list of all subscribers
  718.  
  719. Problems, questions, suggestions and the like should go to the address 
  720. "owner-hpux-admin@cv.ruu.nl".
  721.  
  722. (Thanks, Bart!)
  723.  
  724. ------------------------------
  725.  
  726. Subject: 3.20! HP-related WWW Sites
  727.  
  728. There are now several sites supporting WWW access on HP-related topics,
  729. including HP itself.
  730.  
  731. The HP SupportLine World Wide Web service allows you to:
  732.  
  733. o  Resolve software problems by searching up-to-date support and problem-
  734.    solving information;
  735. o  Browse news and current announcements; and
  736. o  Subscribe to automatically receive the latest Hewlett-Packard support
  737.    information.
  738.  
  739. The HP SupportLine World Wide Web service home page is located at URL:
  740.  
  741.       http://support.mayfield.hp.com
  742.  
  743. The Hewlett-Packard World Wide Web home page (Access HP) is located at URL:
  744.  
  745.       http://www.hp.com
  746.  
  747. Please forward all feedback about the HP SupportLine World Wide Web service
  748. to webmaster@support.mayfield.hp.com.
  749.  
  750. Other HP-related WWW sites include:
  751.  
  752. Site: http://siihp.epfl.ch/HPUX/tools/disktab.html
  753. Contents: Contains many disktabs for non-HP disks
  754.  
  755. Site: http://www.cis.ohio-state.edu/hypertext/faq/usenet/hp-faq/faq.html
  756. Contents: This FAQ.
  757.  
  758. Site: http://www.csc.liv.ac.uk/FAQ/
  759. Contents: This FAQ.
  760.  
  761. Site: http://www.csc.liv.ac.uk/intro.html
  762. Contents: Interface to the Liverpool archive, including package descriptions, 
  763.       man pages and screen shots as well as the packages themselves. Also
  764.       includes a WAIS server (wais://www.csc.liv.ac.uk/hpux) for searching 
  765.       HTML documents relating to the archive.
  766.       
  767. Site: http://www.cs.ruu.nl/hpux-admin-archive/
  768. Contents: Archive for the hpux-admin mailing list.
  769.  
  770. Site: ftp://supportnet.mentorg.com/pub/mentortech/mgc_env/examples/HPUX/faq.html.tar.Z
  771. Contents: Compressed tar archive of the html version of the FAQ, suitable
  772.       for FTP for local access.
  773.  
  774. Site: http://www.eel.ufl.edu/~scot/tutor/
  775. Contents: HP-UX 9.x Tutorial
  776.  
  777. Site: http://www.cs.ruu.nl/hpux-admin-archive/index.html
  778. Contents: System Administrators Mailing List for HP-UX
  779.  
  780. Site: http://siihp.epfl.ch
  781. Contents: French speaking HP www support (some info also in english like
  782.        benchmarks, disktab entries, etc...)
  783.   
  784. Site: http://www.eel.ufl.edu/~sessiont/tutorial/tofc.html
  785. Contents: HP-VUE tutorial
  786.  
  787. ------------------------------
  788.  
  789. Subject: 3.21! Who is this George Carter and how do I get rid of his posts?
  790.  
  791. George Carter is an ex-HP employee who makes frequent postings to
  792. comp.sys.hp.misc.  If you wish to remove his posts and most of the related 
  793. followups and if you are running rn, put the following  commands in your 
  794. kill file:
  795.  
  796. /George Carter/a:j
  797. /gcarter@infoserv.com/a:j
  798.  
  799. If you are using Gnus (an Emacs-based newsreader), type "M-k" in the
  800. Subject buffer of the relevant newsgroup to expose the killfile,
  801. insert these two lines into the killfile:
  802.  
  803.   (gnus-kill "From" "gcarter@infoserv.com" '(gnus-summary-kill-thread nil))
  804.   (gnus-expunge "K")
  805.  
  806. and then type "C-c C-c" in the killfile buffer.  From then on, you
  807. will not see any thread trees rooted at an article from George Carter.
  808.  
  809. ------------------------------
  810.  
  811. Subject: 3.22+ HP 500 Mailing List
  812.  
  813. There now exists a mailing list dedicated to the HP 9000 series 500 machine.
  814. To get on (or off) the list, send email to 
  815.     <hp9000-500-request@nvc.cc.ca.us>
  816. with the word
  817.     subscribe
  818. in the Subject: line.
  819.  
  820. (Thanks to Chris Osborn, <fozztexx@nvc.cc.ca.us>) 
  821.  
  822. ------------------------------
  823.  
  824. Subject: 4. THIRD PARTY VENDORS
  825.  
  826. ------------------------------
  827.  
  828. Subject: 4.1  Third party vendors for RAM.
  829.  
  830. The following vendors are listed in alphabetical order. No guarantees
  831. are made regarding compatibility or relative merit of the vendors.
  832.  
  833. Camintonn                          Clearpoint Research Corporation
  834. 22 Morgan                          1000 E. Woodfield Road, Suite 102
  835. Irvine, CA 92718                   Schaumburg, IL 60173
  836. (800) 843-8336                     (708) 619-9227
  837. (714) 454-6500
  838.  
  839. Concorde Technologies              Dataram
  840. 7966 Arjons Dr. B-201              PO Box 7528
  841. San Diego, CA 92126                Princeton, NJ 08543-7528
  842. (800) 359-0282                     (800) DATARAM
  843. (619) 578-3188                     (800) 799-0071
  844.  
  845. Digitial Micronics                 Eventide
  846. 2075 Corte Del Nogal               1 Alsan Way
  847. Unit N                             Little Ferry, NJ 07643
  848. Carlsbad, CA 92009                 (201) 641-1200
  849.  
  850. Helios Systems                     Herstal Automation
  851. 1996 Lundy Ave                     3171 West Twelve Mile Rd.
  852. San Jose, CA 95131                 Berkley, MI 48072
  853. (408) 432-0292                     (313) 548-2001
  854. (800) 366-0283
  855.  
  856. IEM                                Infotek Systems
  857. P.O. Box 1889                      625 South Lincoln
  858. Fort Collins, CO 80522             Suite 204
  859. (800) 321-4671                     Steamboat Springs, CO 80487
  860. (303) 221-3005                     (800) 767-1084
  861.  
  862. Intelligent Interfaces             ISA Ltd
  863. P.O. Box 1486                      1-1-5 Sekiguchi
  864. Stone Mountain, GA 30086-1486      Bunkyo-Ku
  865. (800) 842-0888                     Tokyo 112 Japan
  866.                                    81-3 (5261) 1160
  867.                                    US Office (Texas)
  868.                                    (713) 493-9925
  869.  
  870. Kelly Computer Systems             Kingston Technology Corporation
  871. 1101 San Antonio Rd.               17600 Newhope Street
  872. Mountain View, CA 94043            Fountain Valley, CA 92708
  873. (415) 960-1010                     (714) 435-2600
  874.  
  875. Martech                            Merida Systems
  876. 1151 W. Valley Blvd.               (617) 933-6790
  877. Alhambra, CA 91803-2493
  878. (800) 582-3555
  879. (818) 281-3555
  880.  
  881. MDL Corporation
  882. 15301 NE 90th St.
  883. Redmond, WA 98052
  884. FAX (206)861-6767
  885. (800)800-3766
  886. (206)861-6700
  887.  
  888. Newport Digital                    R Squared
  889. 14731 Franklin Avenue              11211 E. Arapahoe Rd., Suite 200
  890. Suite A                            Englewood, CO 80112
  891. Tustin, CA 92680                   (303) 799-9292
  892. (714) 730-3644                     (800) 777-3478
  893.  
  894. (Thanks to Roy McMorran <mcmorran@ll.mit.edu>)
  895.   
  896. ------------------------------
  897.  
  898. Subject: 4.2  Third party vendors for other things
  899.  
  900. Vendor                          Product(s)
  901. ------                          ----------
  902. Andataco                        System integrator and peripheral reseller
  903. 10140 Mesa Rim Road
  904. San Diego, CA 92009
  905. (619)453-9191
  906. inquire@andataco.com
  907.  
  908. Disk Emulation Systems, Inc.    Solid-state disk emulators (SSDs)
  909. 3080 Oakmead Village Dr.
  910. Santa Clara, CA 95051
  911. FAX: 408-727-5496
  912. (408)727-5497
  913. diskmsys@netcom.com
  914.  
  915. Interphase Corporation          High performance bus interfaces (EISA/FDDI,
  916. 13800 Senlac                    VME/ATM.)
  917. Dallas, Texas 75234
  918. (214)919-9000
  919.  
  920. ITAC Systems, Inc.              Supports Mouse-trak trackball for HP-HIL
  921. 3113 Benton St.
  922. Garland, Tx 75042
  923. (800)533-4822
  924. yvonne@moustrak.com
  925.  
  926. MDL Corporation                 Disk, tape, optical, jukebox, EISA expansion, 
  927. 15301 NE 90th St.               RAID, others.
  928. Redmond, WA 98052
  929. FAX (206)861-6767
  930. (800)800-3766
  931. (206)861-6700
  932.  
  933. Modular Industrial              MICHIL PS2 to HP-HIL converter. Allows standard
  934. Computers                       PC keyboards and mice to be connected to HP
  935. (615)499-0700                   workstations
  936. Joe Malley
  937.  
  938. SBE                             EISA serial and SCSI boards.
  939. 4550 Norris Canyon Road
  940. San Ramon, CA 94583-1389
  941. (510)355-2000
  942. (800)925-2666
  943. fax (510)355-2020
  944.  
  945. Workstation Solutions           Data backup and recovery solutions.
  946. One Overlook Drive              
  947. Amherst, NH  03031-2800
  948. VOX: (603) 880-0080
  949. FAX: (603) 880-0696
  950. jimm@worksta.com  (Jimm Parsons, Technical Services Manager)
  951.  
  952.  
  953. (Thanks to various contributors)
  954.  
  955. ------------------------------
  956.  
  957. Subject: 5. UTILITIES
  958.  
  959. ------------------------------
  960.  
  961. Subject: 5.1  ASCII to Postscript converter.
  962.  
  963. You can get an ASCII to Postscript converter from:
  964.  
  965. ftp://ftp.uu.net/usenet/comp.sources.misc/volume10/a2ps3.Z
  966.  
  967. Additionally, nenscript is available from various FTP sites.
  968.   
  969. ------------------------------
  970.  
  971. Subject: 5.2  How do I make perl on HP-UX?
  972.  
  973.    Reply like this to Configure:
  974.  
  975.    1. When it asks for optimization flags answer
  976.         +O1 if you have HP-UX 7.05 or less
  977.         -O  if you have HP-UX 8.0 or later.
  978.    2. When it asks for additional flags to cc answer
  979.         -DJMPCLOBBER
  980.    3. When it asks for additional libraries answer
  981.     -lndbm -lm    (ignore the other libraries Configure finds).
  982.       You can also safely add -lBSD if you wan't BSD signal semantics.
  983.    4. When it asks if you wan't to use perl's malloc answer
  984.     y
  985.       If you have HP-UX 8.07 or later you may choose to answer no to this since
  986.       that malloc is OK.
  987.    5. When perl asks on which boundarie a double must be aligned answer
  988.     8    if you are on a 9000/800 or 9000/700 series machine (HP-PA
  989.          architecture).
  990.     2    otherwise (Motorola 68k architecture)
  991.   
  992. ------------------------------
  993.  
  994. Subject: 5.3  What is the status of the various gnu items on HP-UX?
  995.  
  996. Pierre Mathieu <mathieu@geod.emr.ca> periodically posts a list to
  997. comp.sys.hp.hpux; the last revision is 2.3. Jeff Law of the University of Utah
  998. maintains an archive on jaguar.cs.utah.edu of the latest PA-RISC ported compiler
  999. tools; see question 3.10 above for details.
  1000.  
  1001. ------------------------------
  1002.  
  1003. Subject: 6. X WINDOW SYSTEM, MOTIF, AND HP-VUE
  1004.  
  1005. ------------------------------
  1006.  
  1007. Subject: 6.1  X11 libraries (Athena, etc.) and utilities (imake, etc.).
  1008.  
  1009. As you may have noticed, HP does not ship a "full" set of X11 libraries and
  1010. include files, and does not provide imake or associated tools. There is a HP
  1011. maintained, but UNSUPPORTED, set of X11R4 libraries and utilities for the HP
  1012. 9000 Series 300, 400, 700, and 800.  You can get the libraries, include files,
  1013. and config files (imake) via anonymous FTP from 
  1014.  
  1015. ftp://hpcvaaz.cv.hp.com/pub/MitX11R4/libs.s*00.tar.Z. 
  1016.  
  1017. This is also archived on the iworks node as mentioned above. HP has also
  1018. submitted X11R5 sources to the iworks node as mentioned above. And, Bo Thide has
  1019. X11R4 and R5 support available via anon. FTP as mentioned above.
  1020.   
  1021. ------------------------------
  1022.  
  1023. Subject: 6.2  How can I display an image on the root window with HP-VUE?
  1024.  
  1025. Set Vuewm*backdrop*image:   none. Note that there is an explicit pick for this
  1026. in the Style Manager with HP-VUE 3.0. When the backdrop is clear, you can use
  1027. xloadimage, xsetroot, xv, or the like to display the image of your choice.
  1028.   
  1029. ------------------------------
  1030.  
  1031. Subject: 6.3  How do I get a scroll bar on hpterms?
  1032.  
  1033. Set the following resources:
  1034.  
  1035. HPterm*scrollBar:    TRUE
  1036. HPterm*saveLines:    1024
  1037.  
  1038. or some other other arbitrarily large number.  To do this interactively, use
  1039. "hpterm -sb -sl 1024". You can also set these in an app-default file
  1040. (/usr/lib/X11/app-defaults/HPterm). You can also set saveLines to something
  1041. like "4s", which indicates four screens.
  1042.   
  1043. ------------------------------
  1044.  
  1045. Subject: 6.4  How can I put a title in my hpterm titlebar?
  1046.  
  1047. Here is a two line program that you might find useful:
  1048.  
  1049. /* Quick and dirty program to put argv[1] in the title bar of an hpterm
  1050.    Tom Arons March 1992
  1051. */
  1052. #include <string.h>
  1053. main(argc,argv)
  1054.         int argc; char **argv;
  1055. {
  1056.         printf("\033&f0k%dD%s", strlen(argv[1]), argv[1]);
  1057.         printf("\033&f-1k%dD%s", strlen(argv[1]), argv[1]);
  1058. }
  1059.  
  1060. An alternative is:
  1061.  
  1062. #!/bin/sh
  1063. LENGTH=`strlen $1`
  1064. echo "&f0k${LENGTH}D$1\c"
  1065.  
  1066. In case in gets mangled, that's ESC between the first quote and the f0k.
  1067.  
  1068. strlen, in case you don't have it, comes from:
  1069.  
  1070. #include <stdio.h>
  1071.  
  1072. main(argc, argv)
  1073.    int argc;
  1074.    int *argv[];
  1075. {
  1076.    if (argc != 2)
  1077.       exit(0);
  1078.    printf("%d\n", strlen(argv[1]));
  1079. }
  1080.  
  1081. (Thanks to Tom Arons <arons@ash.eecs.ucdavis.edu> and John T. Beck, HP.)
  1082.   
  1083. ------------------------------
  1084.  
  1085. Subject: 6.5  How come my hpterms keep going away by themselves?
  1086.  
  1087. You are probably using the C Shell (/bin/csh) and have autologout set (it is
  1088. set to 60 minutes by default).  Put an "unset autologout" in your ".cshrc".
  1089.  
  1090. If you are using the korn shell it is probably due to the value set for
  1091. the shell variable TMOUT.  Set it to 0 (infinite timeout).
  1092.  
  1093. (Thanks to Jim Sharpe <jms@spatial.com> for the Korn Shell information.)
  1094.   
  1095. ------------------------------
  1096.  
  1097. Subject: 6.6  How come my HP X/Motif clients take a LONG time to display on a Sun?
  1098.  
  1099. The problem is with the OW3 server.  You can request OW3 patch 100444-35 (or
  1100. whatever is the current replacement) from Sun to fix the problem. Supposedly
  1101. this has been rolled into OW 3.0.1. A workaround is to set the X resource
  1102. *useColorObj: False on the Sun.
  1103.   
  1104. ------------------------------
  1105.  
  1106. Subject: 6.7  How can I get my login stuff to work under HP-VUE?
  1107.  
  1108. When you login  via VUE, VUE  sources  ~/.vueprofile  *INSTEAD  OF* your .login
  1109. (csh),  .profile  (sh/ksh),  and other  startup  files.  Whatever actions  are
  1110. taken in  ~/.vueprofile  are  persistent  across any  children started  by VUE.
  1111. Meaning that if you  symbolic  link  ~/.vueprofile  to your ~/.profile,  then
  1112. VUE will source your  ~/.profile  before  starting the window system, and all
  1113. children  (hpterms/xterms  and their  interactive shells) will inherit this
  1114. environment (prompt variables et al).
  1115.  
  1116. Documentation indicates your ~/.vueprofile should contain either csh, or sh/ksh
  1117. syntax, depending upon what your login shell is.
  1118.  
  1119. When csh is my login shell, I set my  ~/.vueprofile  to contain only two
  1120. lines:
  1121.  
  1122.     if ( -f /etc/csh.login ) source /etc/csh.login
  1123.     if ( -f ~/.cshrc ) source ~/.cshrc
  1124.  
  1125. When sh/ksh is my login shell, I set my ~/.vueprofile to contain only two
  1126. lines:
  1127.  
  1128.     test -f /etc/profile && . /etc/profile
  1129.     test -f ${HOME}/.profile && . ${HOME}/.profile
  1130.  
  1131. So, before  starting the window  manager and any clients, VUE makes sure that
  1132. all my shell startup files are sourced and all the variables I want in my shell
  1133. environment are already there and waiting for me.
  1134.  
  1135. (Thanks to Steve Jumonville, HP)
  1136.   
  1137. ------------------------------
  1138.  
  1139. Subject: 6.8  How can I get console messages to go to an hpterm?
  1140.  
  1141. You can avoid console messages writing to your graphics planes and trashing your
  1142. VUE session by starting an hpterm and designating it to receive console
  1143. messages, and to de-iconify, when console messages are received.  Put something
  1144. like this in your "vue.session" file in ~/.vue/sessions/home. (line wrapped
  1145. for readability):
  1146.  
  1147. # Start up the  Terminal  Console as iconic,  and raise it if any output
  1148.  
  1149. vuesmcmd -cmd "hpterm -C -iconic -ls -sb -sl 256 -name Console -T Console 
  1150. -xrm *mapOnOutputDelay:\ 30 -xrm *mapOnOutput:\ True 
  1151. -xrm Console*clientFunctions:\ -close -xrm *workspaceList:\ all"
  1152.  
  1153. (Thanks to Steve Jumonville, HP)
  1154.   
  1155. ------------------------------
  1156.  
  1157. Subject: 6.9  What happened to the vuewm key accelerators at VUE 3.0?
  1158.  
  1159. Well, we don't really know. Here's how to set them, though.
  1160. Add an entry like this (you can, of course, customize it to your
  1161. liking) to your $HOME/.vue/vuewmrc file:
  1162.  
  1163. Menu VueWindowMenu
  1164. {
  1165.     "Restore"          _R        Alt<Key>F5         f.normalize
  1166.     "Move"             _M        Alt<Key>F7         f.move
  1167.     "Size"             _S        Alt<Key>F8         f.resize
  1168.     "Minimize"         _n        Alt<Key>F9         f.minimize
  1169.     "Maximize"         _x        Alt<Key>F10        f.maximize
  1170.     "Lower"            _L        Alt<Key>F3         f.lower
  1171.      no-label                                       f.separator
  1172.     "Occupy..."        _O        Alt<Key>O          f.workspace_presence
  1173.     "Occupy all"       _a        Alt Shift<Key>O    f.occupy_all
  1174.      no-label                                       f.separator
  1175.     "Remove from WS"   _e        Alt Shift <Key>F4  f.remove
  1176.     "Close"            _C        Alt<Key>F4         f.kill
  1177. }
  1178.  
  1179. And then add this resource:
  1180.  
  1181. Vuewm*windowMenu:       VueWindowMenu
  1182.  
  1183. And restart the window manager.
  1184.  
  1185. (Thanks to Bill Bennett, HP)
  1186.   
  1187. ------------------------------
  1188.  
  1189. Subject: 6.10  How come I can no longer disable the caps lock key with xmodmap?
  1190.  
  1191. A common activity in the past has been to disable the, shall we say, "placement
  1192. challenged" caps lock key on the ITF keyboard using a simple xmodmap script.
  1193. This no longer works consistently at X11R5/VUE 3.0; the best solution so far:
  1194.  
  1195. In file ~/.vue/sessions/lite/vue.session:
  1196.  
  1197. /usr/bin/X11/xmodmap - << EOF
  1198.         clear lock
  1199.         keycode 55 = Control_L
  1200.         keycode 86 = Caps_Lock
  1201.         keycode 39 = grave asciitilde guillemotleft guillemotright
  1202.         keycode 71 = Escape
  1203.         add Lock = Caps_Lock
  1204.         add Control = Control_L
  1205. EOF
  1206.  
  1207. This works until logout/login, when Caps Lock toggles the control feature, even
  1208. though 'xmodmap -pm' shows that Lock has no assignments. You have to restart the
  1209. server to reset completely, which can be automated by setting the value         
  1210.  
  1211. Vuelogin*terminateServer:   True
  1212.  
  1213. in the file /usr/vue/config/Xconfig.
  1214.   
  1215. ------------------------------
  1216.  
  1217. Subject: 6.11  How come vi behaves strangely in xterms at 9.01?
  1218.  
  1219. Apparantly initial invocation of xterm under csh does not set LINES/COLUMNS
  1220. correctly, and vi doesn't handle that real well. One workaround is to put the
  1221. following in .cshrc:
  1222.  
  1223. if ( $?WINDOWID ) then
  1224.    set noglob;eval `/usr/bin/X11/resize`;unset noglob
  1225. endif
  1226.  
  1227. PHSS_2753 addresses this problem.
  1228.  
  1229. (Thanks to Raymond Nijssen for the workaround.)
  1230.   
  1231. ------------------------------
  1232.  
  1233. Subject: 6.12  How do I disable HP-VUE?
  1234.  
  1235. There have been several recommendations on this base thread. Here is one that is
  1236. documented for X terminals (it works for workstations too). This takes advantage
  1237. of the fact that Vue sets several environment variables for the session, one of
  1238. which is USER.
  1239.  
  1240. Modify the /usr/lib/X11/vue/Vuelogin/Xsession (pre-9.0 HPUX) or the
  1241. /usr/vue/config/Xsession (9.0 HPUX and later) file:
  1242.  
  1243.     1) Go to the portion that contains the coment "Determine the startup
  1244.        if the user didn't specify one." -- approximately line 295 in an
  1245.        unaltered version of the file.
  1246.  
  1247.     2) Add a following case statement to fit your needs. It should look
  1248.        something like:
  1249.  
  1250.                    case $USER in
  1251.                       martha | joe) startup=${HOME}/.x11start''
  1252.                    esac
  1253.  
  1254. You can add as much or little intelligence to this as you like. The above
  1255. assumes that the users' have a .x11start script in their home directory, that
  1256. its permissions are correct, etc. You can build in a fallback machanism. For
  1257. example, the script will check to see if the user has a .x11start script and if
  1258. not, to fallback to /usr/lib/X11/sys.x11start. To see an example of this logic,
  1259. do a more(1) on /usr/bin/x11start.
  1260.  
  1261. The above case statement is documented in Ch 2 of the "HP 700/RX System
  1262. Administrators Guide".
  1263.  
  1264. (Thanks to Bill Morrison, HP)
  1265.   
  1266. ------------------------------
  1267.  
  1268. Subject: 6.13  What's a good termcap entry for hpterm?
  1269.  
  1270. Although it is not supported for hpterm use, the 262x entry in
  1271. /etc/newconfig/termcap will work.
  1272.  
  1273. (Thanks to Frank Slootweg, HP)
  1274.   
  1275. ------------------------------
  1276.  
  1277. Subject: 6.14  My screen is wedged. What should I do?
  1278.  
  1279. One thing you can try is to unplug the keyboard for ~5 seconds. Note that
  1280. you will have to rerun xset -r to get autorepeat to work after doing this.
  1281.  
  1282. (Thanks to Paul Liebert, HP.)
  1283.   
  1284. ------------------------------
  1285.  
  1286. Subject: 6.15  How can I get an X client to come up in an alternate workspace?
  1287.  
  1288. You can try:
  1289.  
  1290. client -xrm "*workspaceList: <name>"
  1291.  
  1292. (Thanks to <finger@rz.uni-karlsruhe.de>)
  1293.   
  1294. ------------------------------
  1295.  
  1296. Subject: 6.16  How can I get HP-VUE to not override colors?
  1297.  
  1298. The Motif library on HP-UX has extra code added to make the default colors
  1299. follow the color schemes that the user selects with the vuestyle controls.  This
  1300. extra code makes trouble for some applications which don't want this unique and
  1301. unexpected behavior.
  1302.  
  1303. You can prevent the entire color scheme mechanism from being used in an
  1304. application by setting "*useColorObj: False" for the application before creating
  1305. the first widget.  This can be done by adding the resource to the application
  1306. defaults, the fallback resources, or as an extra "-xrm" "*useColorObj: False"
  1307. args pair in the argv and argc parameters passed to XtAppInitialize.  If you set
  1308. the resource in xrdb it would be best to set it for only specific applications
  1309. like "MyApp*useColorObj: False".
  1310.  
  1311. Setting the useColorObj resource could make programs core dump on some 8.0*
  1312. systems.  There is a patch that corrects the core dump.
  1313.  
  1314. You can use the vue colors and prevent the specific difference between dialog
  1315. colors vs.  non-dialog colors by setting a resource that specifies the behavoir
  1316. of the color scheme mechanism.  To force the dialogs to use the same colors as
  1317. the other windows set the following resources in your app_defaults file or
  1318. fallback settings-
  1319.  
  1320. *primaryColorSetId: 3 
  1321. *secondaryColorSetId: 3
  1322.  
  1323. This sets the dialog or "secondary" colors to the same set as the primary
  1324. colors.  This is discussed in the "HP VUE 3.0 User's Guide" in chapter 26.
  1325.  
  1326. (Thanks to Mike Stroyan, HP.)
  1327.   
  1328. ------------------------------
  1329.  
  1330. Subject: 6.17  How can I override the system default printer in vuepad?
  1331.  
  1332. cp /usr/vue/types/vuepad.vf $HOME/.vue/types
  1333.  
  1334. Edit the file and change the ACTION PRINT_PR_VPAD to:
  1335.  
  1336. # The PRINT_PR_VPAD action paginates its arguments using pr(1) and prints
  1337. # them with lp(1).  It uses arg 2 for a title.  It then removes the temp
  1338. # file.  This action is used by the client vuepad.
  1339. ACTION PRINT_PR_VPAD
  1340.         TYPE            COMMAND
  1341.         WINDOW-TYPE     NO-STDIO
  1342.         EXEC-HOST       %LocalHost%
  1343.         EXEC-STRING     /bin/sh -c "pr -h %Arg_2% %(File)Arg_1% | \
  1344.                                 lp -d%"Printer:"%; rm %(File)Arg_1%"
  1345.                                    ^^^^^^^^^^^^^^
  1346. END
  1347.  
  1348. This will cause a dialog box to appear to prompt you for a printer name.
  1349. However,  if you set LPDEST in your .vueprofile,  then lp will use that
  1350. value instead of the system default.
  1351.  
  1352. (Thanks, Dan Mercer, <damercer@mmm.com>)
  1353.  
  1354. ------------------------------
  1355.  
  1356. Subject: 6.18  What about X11R6?
  1357.  
  1358. The basic core distribution of X11R6 is now installed on the Liverpool FTP
  1359. archive. See section 3.12 for details.
  1360.  
  1361. Current contents:
  1362.   XR6src-6.0.part0{1,2,3}.tar.gz
  1363.   XR6built-6.0.tar.gz
  1364.  
  1365. Notes:
  1366.  
  1367. - the binaries are designed to be installed in /usr/local/X11R6
  1368.   (use a symbolic link, or grab the source if you want them elsewhere)
  1369. - most libraries come with archive and shared versions
  1370.   (and the built binaries mostly use the .sl versions)
  1371. - this is JUST the core distribution (xc/)
  1372. - xc/test and xc/workInProgress aren't included in the built package
  1373.   (the source is present, but hasn't been looked at in the src packages)
  1374.  
  1375. (Thanks to Dave Shield, Liverpool)
  1376.  
  1377. ------------------------------
  1378.  
  1379. Subject: 6.19  How can I set user-specific app-defaults in HP-VUE?
  1380.  
  1381. HP-VUE looks in the directory $HOME/.vue/app-defaults in addition
  1382. to the default location (/usr/lib/X11/app-defaults).
  1383.         
  1384. ------------------------------
  1385.  
  1386. Subject: 7. OPERATING SYSTEM
  1387.  
  1388. ------------------------------
  1389.  
  1390. Subject: 7.1  Can I have filenames longer than 14 chars?
  1391.  
  1392. Yes, change to long filenames using /etc/convertfs. You can't go back, though.
  1393. Here's how to check if an existing filesystem has long filenames enabled:
  1394.  
  1395. # tunefs -v /dev/rdsk/XXX | grep magic
  1396. magic   95014   clean   FS_OK   time    Tue Mar 23 14:13:01 1993
  1397.        \__ if = 95014 then long filenames
  1398.         \__ if = 11954 then short filenames
  1399.         
  1400. You can also look at this on a per directory basis with the POSIX
  1401. command getconf:
  1402.  
  1403. $ getconf NAME_MAX directory
  1404.  
  1405. (Thanks to Ken Burke and Masataka Isoya <Masataka_Isoya@yhp.hp.com>)
  1406.   
  1407. ------------------------------
  1408.  
  1409. Subject: 7.2  How can I tell what products have been loaded on my system?
  1410.  
  1411. Check the /etc/filesets directory. There is a file there for each fileset that
  1412. has been loaded that summarizes the files in that fileset.  This directory is
  1413. used by the /etc/update, /etc/updist, /etc/netdistd, and /etc/rmfn utilities
  1414. for loading and unloading software.
  1415.   
  1416. ------------------------------
  1417.  
  1418. Subject: 7.3  How do I safely remove software from my system?
  1419.  
  1420. The _only_ safe way to remove HP software is to use /etc/rmfn.
  1421.   
  1422. ------------------------------
  1423.  
  1424. Subject: 7.4  What's the scoop on HP-UX 9.03/9.04?
  1425.  
  1426. HP-UX 9.03 and 9.04 have now been officially released from HP and are
  1427. available on request from your software support coordinator. Support
  1428. is included for the 712 workstations, and many patches are included.
  1429.   
  1430. ------------------------------
  1431.  
  1432. Subject: 7.5  How come HP-UX doesn't support NFS root access?
  1433.  
  1434. HP-UX versions previous to 9.X do not support NFS root access to mounted
  1435. file systems. This because they are at an old revision of NFS. You *can* hack
  1436. your kernel to provide it, but it's dangerous, unsupported, and a security
  1437. hole. 9.X supports full NFS 4.1 functionality, including NFS root.
  1438.   
  1439. ------------------------------
  1440.  
  1441. Subject: 7.6  How can I change the order of hostname resolution?
  1442.  
  1443. Patches PHCO_3703/3704 (700/800) and PHNE_3686/3687 allow configuration of the 
  1444. order of hostname resolution. For more detail, see the docs in PHNE_3686; the
  1445. bottom line is that it's like Solaris 2.x. You can also just patch the
  1446. YP server to do DNS fallback only with PHNE_4097.
  1447.   
  1448. ------------------------------
  1449.  
  1450. Subject: 7.7  How come the LOGnnnn files in /usr/adm keep growing and growing?
  1451.  
  1452. The LOGnnnn files in /usr/adm (8.x except 8.02) or /usr/adm/diag (8.02 and 9.0)
  1453. are the diagnostic event log files. Most likely the files are growing for
  1454. one of two reasons: either the diagnostics system was improperly installed,
  1455. or there is an actual hardware problem on the system.
  1456.  
  1457. (Thanks to Wayne Krone of HP)
  1458.   
  1459. ------------------------------
  1460.  
  1461. Subject: 7.8  How come I can't lock mail or other files on a Sun?
  1462.  
  1463. Believe it or not, Sun's lockd is broken at 4.1.x. The proper Sun patch
  1464. number is Patch-ID# 100075-09, called the "lockd jumbo patch".
  1465.   
  1466. ------------------------------
  1467.  
  1468. Subject: 7.9  Why are mail files in /usr/mail are owned by daemon instead of the recipient?
  1469.  
  1470. The mail delivery agent /bin/rmail needs to be able to chown(2) these files.
  1471. It cannot do so if you have removed the privilege CHOWN (see setprivgrp(1m);
  1472. removing CHOWN is recommended to prevent cheating on disk quotas).  To get 
  1473. around this, noting that /bin/rmail runs setgid to group mail, you can grant 
  1474. privilege CHOWN to group mail only by inserting the line "mail CHOWN" in 
  1475. /etc/privgroup. The change takes effect on the next reboot, or immediately 
  1476. if you execute the command "setprivgrp -f /etc/privgroup".
  1477.  
  1478. (Thanks to Jim Richardson <jimr@maths.su.oz.au>)
  1479.   
  1480. ------------------------------
  1481.  
  1482. Subject: 7.10  How can I tell if I need more than a 2-user license?
  1483.  
  1484.     There are several fundamental things to remember about HP-UX licensing:
  1485.  
  1486.     o Series 700 and Series 800 users are now counted the same way
  1487.     o Display console counts as one user
  1488.     o Each ASCII terminal counts as a user, regardless of how it is
  1489.           connected
  1490.     o The LAN connection counts as one user
  1491.  
  1492.     Ascii Terminals
  1493.  
  1494.     The simple rule to remember is any ASCII terminal that is logged in counts
  1495.     as a user.
  1496.  
  1497.     ASCII terminal connections can come in several different forms:
  1498.  
  1499.     o Direct-connected via a serial terminal multiplexer
  1500.     o Connected via Data Terminal Concentrators (DTCs) or via
  1501.           terminal servers
  1502.     o Personal Computers (PCs) acting in terminal emulation mode,
  1503.           whether connected via serial line or via Local Area Network (LAN)
  1504.  
  1505.     X-terminals and workstations
  1506.  
  1507.     When a customer buys an X-terminal or workstation from HP or from 
  1508.     another vendor, HP acknowledges that the customer has also bought a 
  1509.     single Unix license-to-use.
  1510.  
  1511.     Therefore, the customer has the right to an unlimited number of logins and
  1512.     terminal windows _over_the_LAN_ to a Series 700 or Series 800 from either 
  1513.     X-terminals or workstations. These logins can be via X terminal windows
  1514.     (_hpterm_ and _xterm_), _telnet_, _rlogin_, or other means.
  1515.  
  1516.     PC's that use X-terminal emulation software such as XView each count the
  1517.     same as an X terminal. This is because the PC essentially becomes an 
  1518.     X-terminal when it is running the X server software. Therefore, when a PC
  1519.     is running an X-terminal emulator, the PC has the right to an unlimited
  1520.     number of logins to an HP-UX system.
  1521.  
  1522.     Exceptions
  1523.  
  1524.     The policy of counting DTC users is new for the Series 700. Customers who
  1525.     purchased Series 700 systems prior to HP-UX 9.0 shipments (late calendar 
  1526.     1992) and use them as host systems for multiple DTC- connected terminals, 
  1527.     may continue to use those configurations without buying a license upgrade. 
  1528.     An update to HP-UX 9.0 will not lock out these configurations.
  1529.     
  1530. (Thanks to Tony Hart, HP)
  1531.   
  1532. ------------------------------
  1533.  
  1534. Subject: 7.11  How can I tell what patches are in the kernel?
  1535.  
  1536. "what /hp-ux" will present you with patch strings, which you can compare with
  1537. the strings called out in the patch text file. A typical patch string is:
  1538.  
  1539. PATCH_8.07 nfs_vnops.c 1.15.61.4 92/01/10 PHKL_0736 PHKL_0942
  1540.  
  1541. which shows that PHKL_0942 has been applied to the kernel.
  1542.   
  1543. ------------------------------
  1544.  
  1545. Subject: 7.12  How come I have to hit return after control-d in the Korn shell?
  1546.  
  1547. You need to set the "viraw" option.
  1548.   
  1549. ------------------------------
  1550.  
  1551. Subject: 7.13  How do I boot into single user mode?
  1552.  
  1553. Press ESC to stop the auto-boot.
  1554. When the list of boot devices is presented:
  1555.  
  1556. b PX ISL    (where X is your root disc)
  1557.  
  1558. And at the ISL> prompt:
  1559.  
  1560. ISL>  hpux -iS disc(;0)/hp-ux
  1561.  
  1562. The '-iS' are the flags to init which says come up single user.  The rest of
  1563. the command is what the bootprocess does automatically.
  1564.  
  1565. (Thanks to Stuart Jarriel <stuart@TIVOLI.COM>.)
  1566.   
  1567. ------------------------------
  1568.  
  1569. Subject: 7.14  How come my Korn shell login hangs?
  1570.  
  1571. This can happen if the user's home directory is across an NFS mount point; you
  1572. can workaround the problem by completely unprotecting (chmod 777) .sh_history,
  1573. or by pointing HISTFILE to somewhere local.
  1574.   
  1575. ------------------------------
  1576.  
  1577. Subject: 7.15  How can I avoid those annoying copyright notices on login?
  1578.  
  1579. The following code in /etc/profile prints the copyright notice the first
  1580. time each user logs in:
  1581.  
  1582.     NUMLOGINS=`/etc/last | grep $LOGNAME | wc -l`
  1583.     if [ $NUMLOGINS -lt 2 ]
  1584.     then
  1585.         cat /etc/copyright
  1586.     fi
  1587.     
  1588. And, for /etc/csh.login:
  1589.  
  1590. set NUMLOGINS=`/etc/last | grep $LOGNAME | wc -l`
  1591. if ( $NUMLOGINS<2 ) cat /etc/copyright
  1592.  
  1593. (Actually, each user will get the copyright on their first login after each 
  1594. time the /etc/wtmp file is pruned, but that needn't be often.)
  1595.  
  1596. (Thanks to Paul Gootherts, <pdg@cup.hp.com> and Steve Dum, 
  1597. <steve_dum@mentorg.com>)
  1598.   
  1599. ------------------------------
  1600.  
  1601. Subject: 7.16  How can I turn off quota checking?
  1602.  
  1603. The safe way is to use /etc/rmfn to remove the QUOTA fileset.
  1604.   
  1605. ------------------------------
  1606.  
  1607. Subject: 7.17  What are the issues with HP-UX 9.01?
  1608.  
  1609. Some of the things that people have seen with HP-UX 9.01. Problems that
  1610. have been patches are noted; see the latest patch catalog for specific
  1611. patch numbers.
  1612.  
  1613. rmfn of the NW-7XX fileset leaves behind an empty directory (/etc/conf/netware)
  1614. and subsequent kernel builds (for patch install) fails until this directory is 
  1615. removed by hand.
  1616.  
  1617. When the length of a macro expansion exceeds an unspecified size, cpp.ansi 
  1618. leaves some macros unexpanded in the output. Patched.
  1619.  
  1620. The linker does not traverse shared library search paths itself. Patched.
  1621.  
  1622. Various X11 problems have been reported including drawing problems
  1623. and memory leaks. Get the latest X server.
  1624.  
  1625. Various serious C compiler problems. Patched.
  1626.  
  1627. Memory leaks can occur and lock up a system; patched.
  1628.  
  1629. catman will core dump; patched.
  1630.  
  1631. There has been some controversy over the implementation of the dynamic buffer
  1632. cache at 9.01; people have been seeing situations where the cache has grown
  1633. quite large and the syncer takes over the system swapping it out. You can limit
  1634. the growth of the buffer cache to physical memory (default) with patch
  1635. PHKL_2449, or you can disable it altogether with the "bufpages" kernel
  1636. parameter; set bufpages to 10% of your physical memory, e.g. if you have an 
  1637. S700 with 16M of memory, set bufpages to:
  1638.  
  1639. bufpages = 16,000 K physical ram / 4 K per page / 10 (percent ) = 400
  1640.  
  1641. (Thanks to various people, too numerous to mention.)
  1642.   
  1643. ------------------------------
  1644.  
  1645. Subject: 7.18  Why does chown behave differently at 9.x?
  1646.  
  1647. chown(2) on symbolic links now chown's the file which the link is pointing to
  1648. instead of the link itself. If you want to go back to the olf behavior, you
  1649. can set the 'hpux_aes_override' parameter to '1'.  This can be done by
  1650. modify /etc/master ('hpux_aes_override AES_OVERRIDE      1') and changing
  1651. the dfile 'hpux_aes_override  1'.  Or by adb'ing the kernel;
  1652. adb -w /hp-ux /dev/kmem
  1653. hpux_aes_override?W 1       # For the /hp-ux
  1654. hpux_aes_override/W 1       # For the current kernel
  1655. $q
  1656.  
  1657. (Thanks to Trond Haugen, HP)
  1658.   
  1659. ------------------------------
  1660.  
  1661. Subject: 7.19  How can I track log files and core files?
  1662.  
  1663. At 9.x, SAM allows you to track all standard log files and trim them if
  1664. desired. It will also find all core files on a file system and allow you
  1665. to get rid of them.
  1666.   
  1667. ------------------------------
  1668.  
  1669. Subject: 7.20  How much memory can a process use?
  1670.  
  1671. The first limiter is probably swap space.  The combined virtual data space
  1672. of all running processes can't exceed swap size. Run /etc/swapinfo -t and 
  1673. look at the total line.  That's all you have left.
  1674.  
  1675. For FORTRAN programs:
  1676. --------------------
  1677. 1) Increase the kernel's stack limit (maxssiz).  You can do this with
  1678.    sam (Kernel Configuration-> Modify Operating System Parameters->
  1679.    Process Parameters).  The practical limit for user stacks is around
  1680.    80 Mbytes.  Your system probably has an 8 Mbyte limit.  Try 16 Mbytes
  1681.    or 32 Mbytes depending on your expected use.  Give sam a number that
  1682.    is a multiple of the 4096-byte pagesize.
  1683.  
  1684. 2) Change your array allocation.  HP FORTRAN allocates non-common,
  1685.    non-SAVE'd arrays on the process stack.  Common blocks and SAVE'd
  1686.    variables are allocated in the process data segment (with much larger
  1687.    size limits).  If your arrays are declared in the main program and
  1688.    passed to subroutines, you can just SAVE the big ones in the main
  1689.    program, or put them in a common block in the main program, or
  1690.    recompile with -K since -K puts all local variables in the data
  1691.    segment.  (-K is a sledgehammer approach, but it gives you a quick
  1692.    indication that stack size is the issue.)
  1693.  
  1694. 3)  Make sure you have enough swap space.
  1695. -------------------
  1696.  
  1697. (Thanks to Bob Montgomery, HP)
  1698.   
  1699. ------------------------------
  1700.  
  1701. Subject: 7.21  How come there's little discussion of DCE?
  1702.  
  1703. DCE (Distributed Computing Environment) is an OSF-based product. HP now
  1704. ships a DCE product. Most of the discussion concerning DCE takes place
  1705. in comp.unix.osf.misc.
  1706.   
  1707. ------------------------------
  1708.  
  1709. Subject: 7.22  How can I make a ramdisk?
  1710.  
  1711. THIS IS UNSUPPORTED. Make sure 'ram' is configured into your kernel, and then
  1712. make device files with major 9 (both blcok and char), minor 0xVSSSSS, where V is
  1713. the volume number, SSSSS is the number of sectors in the ram disk, and a sector
  1714. is 256 bytes. For example,
  1715.  
  1716.     mknod /dev/ram1m c 9 0x101000
  1717.     
  1718. makes a 1 meg ram disk. Of course, you have to make a file system on it and
  1719. mount it to make it useful.
  1720.  
  1721. (Thanks to Rob Gardner, HP)
  1722.   
  1723. ------------------------------
  1724.  
  1725. Subject: 7.23  How come I can't lock files across NFS after upgrading to 9.01?
  1726.  
  1727. You may need to replace your /etc/group with the 9.01 version:
  1728.  
  1729. Upgraded 9.01/  Installed
  1730. 8.07 version    9.01 version
  1731.  
  1732. root::0:        root::0:root
  1733. other::1:       other::1:root,hpdb
  1734. bin::2:         bin::2:root,bin
  1735. sys::3:         sys::3:root,uucp
  1736. adm::4:         adm::4:root,adm
  1737. daemon::5:      daemon::5:root,daemon
  1738. mail::6:        mail::6:root
  1739. lp::7:          lp::7:root,lp
  1740. users::20:      users::20:root
  1741.                 nogroup:*:-2:
  1742.                 
  1743. (Thanks to Robin Strong <gandalf@austin.lockheed.com>)
  1744.   
  1745. ------------------------------
  1746.  
  1747. Subject: 7.24  What's a good strategy for clearing /tmp?
  1748.  
  1749. Two suggestions (to be run from cron) are:
  1750.  
  1751. find /tmp -depth -hidden -fsonly hfs -atime +1 -exec rm -rf {} \;
  1752.  
  1753. The -depth option ensures no directory is removed before its contents,
  1754. -fsonly hfs is because occasionally I've NFS-mounted stuff there and
  1755. it's better to do the clearing in the machine where it's local,
  1756. and -hidden is in case CDF's appear there for some reason.
  1757.  
  1758. (Thanks to Tapani Tarvainen)
  1759.  
  1760. for i in /tmp /usr/tmp
  1761. do
  1762.   find $i -type f -atime +3 -print -exec rm -f {} \;
  1763.   find $i -type d -atime +3 -print -exec rmdir {} \;
  1764. done
  1765.   
  1766. (Thanks to Rich Jennings, HP)
  1767.   
  1768. ------------------------------
  1769.  
  1770. Subject: 7.25  How can I change the timezone?
  1771.  
  1772. Edit the entry in /etc/src.sh and /etc/src.csh, and reboot.
  1773.   
  1774. ------------------------------
  1775.  
  1776. Subject: 7.26  How can I look at what my system is doing?
  1777.  
  1778. The best tool for monitoring your system is HP GlancePlus.  In the U.S. call 
  1779. (800) 237-3990 for a trial version.  Outside the U.S. contact your HP sales
  1780. representative.  HP sells other performance tools as well including HP
  1781. Performance Collection Software, HP PerfRX (for long-term performance
  1782. analysis of a single system), and HP PerfView which runs under OpenView 
  1783. (for simultaneous monitoring of a network of systems including HP-UX, Sun 
  1784. Sparc, and IBM AIX).  You can also use /usr/contrib/bin/monitor if it 
  1785. exists on your system, but it is not as accurate or reliable as GlancePlus,
  1786. and is not an HP supported product.
  1787.  
  1788. ------------------------------
  1789.  
  1790. Subject: 7.27  How can I partition HP-UX disks on 700s?
  1791.  
  1792. Here is a sample file which lists the sdsadmin commands to partition a disk
  1793. into 2 partitions. Note that this is specific to the M2654SA disk;
  1794. your mileage may vary. The mediainit is probably not required if the vendor
  1795. has formatted/verified the disk. It is not "supported" to partition
  1796. the boot disk, and you have to go through some contortions to do it.
  1797. Note also that in order to have several partitions on the root disk
  1798. AND have swap, you must create another partition which you dedicate
  1799. to swap.
  1800.  
  1801. #
  1802. # SDS configuration file for this node.
  1803. #
  1804. # To rebuild the /u1 and /news Fujitsu M2654SA disk partitions, do:
  1805. #    mediainit -v /dev/rdsk/c201d5s0
  1806. #    sdsadmin -m -C /usr/local/etc/sdsadmin.config.u1news /dev/dsk/c201d5s0
  1807. #    newfs -L -n -v -m 2 -i 16384 /dev/rdsk/c201d5s1 HP_M2654Su1x1-2
  1808. #    newfs -L -n -v -m 2 -i  2048 /dev/rdsk/c201d5s2 HP_M2654Su1x1-2
  1809. #
  1810. # Disk partitions:
  1811. #
  1812. # 1   /u1     145xxxx 1K blocks (/dev/dsk/c201d5s1, /dev/rdsk/c201d5s1)
  1813. # 2   /news    55xxxx 1K blocks (/dev/dsk/c201d5s2, /dev/rdsk/c201d5s2)
  1814. # -   -----   -------
  1815. #             2006016 1K blocks
  1816. #
  1817.  
  1818. type    M2654Su1x1-2
  1819. label   u1_news
  1820.  
  1821. partition 1
  1822.    size 1450000K
  1823.  
  1824. partition 2
  1825.    size      max
  1826.  
  1827. (Thanks to Mike Petersen and Timothy Mooney <mooney@pinky.cc.ndsu.nodak.edu>)
  1828.  
  1829. ------------------------------
  1830.  
  1831. Subject: 7.28  How can I print man pages successfully?
  1832.  
  1833. To get the italic and bold fonts from the man file on a Laserjet:
  1834.  
  1835. zcat manfile.1 | nroff -man -Tlj | lpr ...
  1836.  
  1837. On a PostScript printer ( you need the GNU groff):
  1838.  
  1839. zcat manfile.1 | groff -man -Tps | lpr ...
  1840.  
  1841. If your man file is a complex one including tables, pipe it through tbl.
  1842.  
  1843. Some man pages like ioctl may need the HP macros:
  1844.  
  1845. zcat manfile.1 | groff -t -e -C -M/usr/lib/tmac -man -Tps | lp ...
  1846.  
  1847. (Thanks to Poul Moller, Markus Gyger)
  1848.  
  1849. ------------------------------
  1850.  
  1851. Subject: 7.29! How can I limit core files?
  1852.  
  1853. HP-UX has no built in function to limit core file generation from the standard
  1854. shells; one way to limit core file generation is to create a directory called
  1855. "core" with 000 permissions in the directory in which you expect a core dump to
  1856. occur. Additionally, two programs are available (nocore and corelimit) that
  1857. can be used as wrappers around other programs that you may expect to dump.
  1858. And, some publicly available shells (tcsh, for example) allow core file
  1859. limits. Or, you can place a link called "core" to /dev/null in the directory
  1860. you expect the core dump to occur.
  1861.  
  1862. Here is the source for corelimit (thanks to John Agosta, HP). It is
  1863. completely unsupported; the Response Center will disavow all knowledge
  1864. of you and your mission should you call them with a problem relating
  1865. to this. Build it in the usual way (cc -o corelimit corelimit.c) and use it 
  1866. in the format of:  "corelimit hpterm 0". This will limit the core file 
  1867. size of all children of the hpterm process to 0.
  1868.  
  1869. #include <stdio.h>
  1870. #include <sys/resource.h>
  1871. #define RLIMIT_CORE     4               /* core file size */
  1872.  
  1873. main(argc, argv)
  1874. int argc;
  1875. char **argv;
  1876. {
  1877. int res;
  1878. struct rlimit rlp;
  1879.         if (argc != 3) {
  1880.            fprintf(stderr, "%s: wrong number of parameters\n", argv[0]);
  1881.            fprintf(stderr, "\tformat: %s command core_size\n", argv[0]);
  1882.            exit(-1);
  1883.         }
  1884.         rlp.rlim_cur = atoi(argv[2]);
  1885.         res = setrlimit(RLIMIT_CORE, &rlp);
  1886.         if (res < 0) {
  1887.                 perror("setrlimit: RLIMIT_CORE");
  1888.                 exit(-2);
  1889.         }
  1890.         system(argv[1]);
  1891. }
  1892.  
  1893. ------------------------------
  1894.  
  1895. Subject: 7.30  Can I put more than one backup on DDS with fbackup?
  1896.  
  1897. No. fbackup always rewinds the tape. Possible alternatives:
  1898.  
  1899. (1) Stick with dump.
  1900. (2) Use a pipe: instead of telling fbackup where the DAT is,
  1901.     let it send its output to stdout (-f -) and pipe it
  1902.     (thru remsh from the other machine) to the DAT, using
  1903.     no-rewind device.  You'll lose fast search ability, though.
  1904. (3) Turn your machines into a cluster served by the one with the DAT
  1905.     and do all backups there.  Unfortunately clusters are
  1906.     not supported at hp-ux 10.0, so this is not a long-term solution.
  1907. (4) Use NFS and mount the disks of the machine without DAT to the other
  1908.     and back them both up there.  You'll have to mount 'em with root
  1909.     permissions and restoring a completely destroyed root disk will be messy.
  1910. (5) Scream at HP until they fix fbackup. :-)
  1911.  
  1912. (Thanks to Tapani Tarvainen, tt@math.jyu.fi)
  1913.  
  1914. ------------------------------
  1915.  
  1916. Subject: 7.31  How can I load multiple patches on a machine at the same time?
  1917.  
  1918. The easiest way to do it is to set up a netdist server by using /etc/updist
  1919. to load all the patches you want into a netdist area, and then starting
  1920. /etc/netdistd.
  1921.  
  1922. ------------------------------
  1923.  
  1924. Subject: 7.32  How can I set up an HP-UX workstation as an X terminal?
  1925.  
  1926. Install minimum OS with network and X11 (without motif or vue).
  1927. Edit /etc/inittab, change the following lines
  1928.  
  1929. init:2:initdefault:
  1930. vue :34:respawn:/etc/vuerc    # VUE validation and invocation
  1931.  
  1932. to
  1933.  
  1934. init:3:initdefault:
  1935. vue :34:respawn:/usr/bin/X11/X -query HOSTNAME    # X server startup
  1936.  
  1937. Replace HOSTNAME by the name of the host running xdm, vuelogin or whatever.
  1938.  
  1939. (thanks to Kay Marquardt, <K.Marquardt@zhv.basf-ag.de>)
  1940.  
  1941. ------------------------------
  1942.  
  1943. Subject: 7.33  What causes "Unable to initialize MI" when running Glance?
  1944.  
  1945. This error can occur for many different reasons but it indicates that the
  1946. glance program had trouble starting the midaemon process.  Further details
  1947. are available in ~/glance.err and/or /usr/perf/log/`hostname`/midaemon.err.
  1948. See man midaemon(1).
  1949.  
  1950. Older revisions of HP GlancePlus (prior to B.09.00 for series 700/800 
  1951. systems and prior to A.09.07 for series 300/400 systems) had a Known 
  1952. Problem in which it was occasionally necessary to issue the following 
  1953. command when the above error occurred:
  1954.  
  1955. rm /usr/perf/databases/`hostname`/*.data
  1956.  
  1957. Do NOT remove other files in the directory /usr/perf/databases/`hostname`/
  1958. because they may be required for other performance tools such as HP PerfRX
  1959. or HP PerfView.
  1960.  
  1961. This problem has been fixed in the current release of HP GlancePlus (versions
  1962. B.09.00 or greater for s700/800).  
  1963.  
  1964. Please contact your HP Support Representative when you experience problems
  1965. with HP software products.  Your HP support contact will know how to obtain 
  1966. additional information to characterize your specific problem.  Please 
  1967. note the product version (ie: "what /usr/perf/bin/glance") when reporting 
  1968. problems.
  1969.  
  1970. (thanks to Doug Grumann <dougg@hpptc3.rose.hp.com>)
  1971.  
  1972.  
  1973. ------------------------------
  1974.  
  1975. Subject: 7.34  How come I can't get all of my swap space?
  1976.  
  1977. The default value of the kernel parameter "maxswapchunks" limits the swap
  1978. accessible by the kernel to 512M; if you configure more swap, you need
  1979. to increase maxswapchunks.
  1980.  
  1981. ------------------------------
  1982.  
  1983. Subject: 7.35  How come I can't start my Aserver?
  1984.  
  1985. Often this is because "localhost" isn't configured in DNS. Try:
  1986.  
  1987.     nslookup localhost
  1988.  
  1989. If that command fails, you will want to have an entry added to your
  1990. name servers for "localhost.your.particular.domain" pointing at
  1991. 127.0.0.1.
  1992.  
  1993. (thanks to rick jones)
  1994.  
  1995. ------------------------------
  1996.  
  1997. Subject: 7.36  How can I get a daemon to successfully start from /etc/rc?
  1998.  
  1999. /etc/rc will kill all child processes on exit; daemons started from
  2000. localrc() (for example) must have called setsid() and have been
  2001. given time to daemonize (what a word!) themselves.
  2002.  
  2003. (thanks to Mike Peterson, <system@alchemy.chem.utoronto.ca>)
  2004.  
  2005. ------------------------------
  2006.  
  2007. Subject: 7.37  How come my /dev/null keeps getting blown away?
  2008.  
  2009. Apparantly this can occur if root invokes the C compiler on a nonexistant
  2010. file.
  2011.  
  2012. ------------------------------
  2013.  
  2014. Subject: 7.38  How can I track network packets?
  2015.  
  2016. *******************************************************
  2017. *
  2018. * Network Tracing with nettl -  for HPUX 8.x and up                      
  2019. *
  2020. *******************************************************
  2021. TRACING - trace all packets seen by the device driver
  2022.       on the HP nodes, except diskless packets.
  2023.       These packets are those packets sent by the
  2024.       node, or addressed to the node.
  2025.         
  2026. 1.  Start Trace - put data into 1MB  trace file. The data
  2027.     will be stored in /tmp/raw.TRC0 and /tmp/raw.TRC1
  2028.     The most recent data will always be in TRC0, when
  2029.     it fills up, TRC0 is renamed TRC1, and new logging
  2030.     continues in the TRC0 file.  They fill up quickly!
  2031.  
  2032.      /etc/nettl -tn pduin pduout -e all -f /tmp/raw 
  2033.  
  2034.      If neding to trace LOOPBACK interface as well,
  2035.      consider:
  2036.  
  2037.      /etc/nettl -tn pduin pduout loopback -e all -f /tmp/trace
  2038.  
  2039. 2.  Stop trace as soon as an event occurs!
  2040.  
  2041.     /etc/nettl -tf -e all
  2042.  
  2043. 3.  Format trace into a print file:
  2044.  
  2045.     /etc/netfmt -N -n -l -f /tmp/raw.TRC0 [ -c /tmp/filter ] > /tmp/fmt0 
  2046.     /etc/netfmt -N -n -l -f /tmp/raw.TRC1 [ -c /tmp/filter ] > /tmp/fmt1
  2047.  
  2048.     -N - print in "nice" format (e.g. interpret) 
  2049.     -n - print IP addresses, not hostnames
  2050.     -l - do not highlight fields (for hpterm)
  2051.     -f - optional, use a filter file (see "filtering", below)
  2052.  
  2053.     NOTE - netfmt takes a while to run!
  2054.     There will be plenty of info in the trace file - 
  2055.     Interpretation may be necessary!
  2056.  
  2057. 3a. Filtering.  Create a filter file to tell netfmt what packets you
  2058.     are interested in seeing.
  2059.  
  2060.     E.g. only display packets to/from IP address 192.10.10.1:
  2061.     filter ip_saddr 192.10.10.1
  2062.     filter ip_daddr 192.10.10.1
  2063.  
  2064.     Filter out all put NFS packets (to/from UDP port 2049)  
  2065.     filter udp_sport 2049
  2066.     filter udp_dport 2049
  2067.  
  2068.     Filter out all but TCP packets to/from port 25 (sendmail)
  2069.     filter tcp_sport 25
  2070.     filter tcp_dport 25
  2071.  
  2072.     Filter on ethernet addresses:
  2073.     filter dest 08-00-09-49-91-4a
  2074.     filter source 08-00-09-49-91-4a
  2075.  
  2076.     You can put these together (e.g. filter all NFS packets to/from IP addr)
  2077.     filter ip_saddr 192.10.10.1
  2078.     filter ip_daddr 192.10.10.1
  2079.     filter udp_sport 2049
  2080.     filter udp_dport 2049
  2081.  
  2082. (thanks to Brian Hackley, <hackley@apollo.hp.com>)
  2083.  
  2084. ------------------------------
  2085.  
  2086. Subject: 7.39  How come my processes keep dying at 67M memory usage?
  2087.  
  2088. You need to adjust the kernel parameter "maxdsiz"; by default the per
  2089. process data space is limited to 67M. Adding physical memory and swap
  2090. will have no effect until you modify the parameter.
  2091.  
  2092. ------------------------------
  2093.  
  2094. Subject: 7.40  Is it possible to artificially limit the memory size?
  2095.  
  2096. WARNING: this is non-standard, unsupported, and may change
  2097. from release-to-release.
  2098.  
  2099. For 9.01 and 9.03, there is a variable in the kernel called
  2100. "soft_pages".  The value is normally zero.  If set to some number
  2101. between 256 and the number of pages in your system, only that number
  2102. of pages will be allocated as the physical memory in your system.
  2103.  
  2104. To use this, first copy your kernel from /hp-ux to something else,
  2105. so that you can recover, if necessary (this variable can be set to
  2106. a small enough value that the system will be unbootable).  Then
  2107. to set up a, say, 16 MByte system, do:
  2108.  
  2109. adb -w /hp-ux
  2110. soft_pages?W 0D4096
  2111.  
  2112. or 
  2113.  
  2114. soft_pages?W 1000
  2115.  
  2116. Remember that the number of physical pages is not the only thing that
  2117. goes into a minimum configuration---you also have to scale kernel
  2118. parameters such as nproc and other tunables appropriately.
  2119.  
  2120. ------------------------------
  2121.  
  2122. Subject: 7.41+ How come my alt key combinations don't work in emacs X mode?
  2123.  
  2124. Run the following through xmodmap:
  2125.  
  2126. !
  2127. ! The following is modified from some code received from bjarne@hsr.no (Bjarne Steinsbø):
  2128. !
  2129. keysym Alt_L = Meta_L
  2130. keysym F12 = Multi_key
  2131. clear mod1
  2132. add mod1 = Meta_L
  2133. clear mod2
  2134. add mod2 = Alt_R Mode_switch
  2135. ! This is magic!
  2136. keysym Alt_R = Mode_switch
  2137.  
  2138. The result is:
  2139.  - The left Alt key acts as the Meta key.
  2140.  - The right Alt key (Alt Gr) selects the extra characters Martin is talking about.
  2141.    (e.g. AltGr-o = ø).
  2142.  - It is even possible to use both Alt keys together, resulting in Meta-versions
  2143.    of the extra characters.
  2144.  
  2145. (Thanks to Geir Atle Storhaug <gas@globus.ffi.no>)
  2146.  
  2147. ------------------------------
  2148.  
  2149. Subject: 7.42+ I can't get Flex LM based licensing to work.
  2150.  
  2151. For some reason, Flex licensing requires /dev/lan0 to have
  2152. read and write permissions for everybody. This is somewhat insecure.
  2153. One workaround is:
  2154.  
  2155. 1. Create a new group call "lan0".
  2156. 2. chgrp/chmod /dev/lan0 to look like this:
  2157.    crw-rw----   1 root     lan0      52 0x202000 May 20  1993 /dev/lan0
  2158. 3. chgrp/chmod g+s on any binaries that need to access /dev/lan0.
  2159.    For example, for Interleaf, we did this to /interleaf/ileaf5/hp700/bin:
  2160.    -rwxr-sr-x   1 compsci  lan0     5255168 Jan 29  1992 ileaf
  2161.  
  2162. (Thanks to Richard Lloyd, Liverpool)
  2163.  
  2164. ------------------------------
  2165.  
  2166. Subject: 8. COMPILERS AND LINKERS
  2167.  
  2168. ------------------------------
  2169.  
  2170. Subject: 8.1  What's a P-FIXUP error?
  2171.  
  2172. Several questions on comp.sys.hp.hpux have involved the Gnu C compiler
  2173. and the linker message below :
  2174.  
  2175.         gcc  test_h.o -o test_h ../libg++.a -lm
  2176. ld: R_DATA_ONE_SYMBOL fixup in file ../libg++.a(streambuf.o) for code unsat
  2177. symbol "abort" - use P' fixup
  2178. collect: /bin/ld returned 1 exit status
  2179.  
  2180.    This is caused by the code generator emitting assembly code in a data
  2181. subspace to initialize a function pointer, equivalent to :
  2182.  
  2183.     .word    foo
  2184.  
  2185. where (in this case) foo() is an extern, and shared libraries are referenced
  2186. by the executable being built (usually libc.sl).  
  2187.  
  2188. NOTE:
  2189.  
  2190. This problem has been fixed in gcc-2.4.5.u5; if people are still running
  2191. into this error, then:
  2192.  
  2193.   1) They've got an old version of gas (pa-gas-1.36.u8 I belive is the
  2194.   first one do handle this correctly).
  2195.  
  2196.   2) They're linking with a library built with some old combination of
  2197.   gcc and gas.
  2198.  
  2199. The solution is to make sure gcc and gas are up-to-date and any libraries
  2200. have been built with the latest gcc/gas combination.  For a temporary 
  2201. workaround the option "-static" to gcc will suppress dynamic linking and
  2202. thus avoids the error.
  2203.  
  2204. (thanks to Carl Burch, HP for the original, and Jeff Law 
  2205.  <law@snake.cs.utah.edu> for the followup)
  2206.  
  2207. ------------------------------
  2208.  
  2209. Subject: 8.2  Where is regcmp on HP-UX?
  2210.  
  2211. RTFM - from man regcmp:
  2212.  
  2213.       regcmp and regex are kept in /lib/libPW.a, and are linked by using the
  2214.       -lc and -lPW options to the ld or cc command.  See WARNINGS below.
  2215.  
  2216. (thanks to Andre Srinivasan, <andre@cs.pitt.edu>)
  2217.   
  2218. ------------------------------
  2219.  
  2220. Subject: 8.3  How come the default C compiler is brain-dead?
  2221.  
  2222. The C compiler shipped with HP-UX is intended only to rebuild the kernel
  2223. with, not for program development. To get a "real" C compiler, you must
  2224. buy the ANSI C program development bundle.
  2225.   
  2226. ------------------------------
  2227.  
  2228. Subject: 8.4  How do I deal with "too many defines"?
  2229.  
  2230. Use the "-Wp,-Hxxxxxxx" where xxxxxxxx is the number of bytes to add to cpp's
  2231. table size.
  2232.  
  2233. There is no equivalent in lint or cflow to the cc driver's -W flag to 
  2234. pass options to subprocesses like cpp.  However, both lint and cflow
  2235. invoke cpp via the cc driver, so you can achieve the same effect by
  2236. setting the CCOPTS environment variable.  For example,
  2237.  
  2238.     CCOPTS="-Wp,-H500000"
  2239.     export CCOPTS
  2240.     lint large_file.c
  2241.  
  2242.   
  2243. ------------------------------
  2244.  
  2245. Subject: 8.5  How come I get "_builtin_va_start" undefined when I build with gcc?
  2246.  
  2247. The <varargs.h> and <stdarg.h> include files define va_start in terms of 
  2248. this function, which is built-in on the HP C compiler.
  2249.  
  2250. If you're using GCC you should be picking up include files
  2251. from the gcc library directory.  These include files do the right
  2252. thing for both GCC and HP C.
  2253.  
  2254. More often than not these files were never installed, or someone has
  2255. placed a copy of varargs.h/stdarg.h into /usr/local/include (gcc searches
  2256. there *first*).
  2257.  
  2258. When all else fails, you can replace the definition of va_start as follows, 
  2259. depending on whether you are using varargs or stdarg (K&R or ANSI,
  2260. respectively).
  2261.  
  2262.     #include <varargs.h>
  2263.     #ifdef __hppa
  2264.     #undef va_start
  2265.     #define va_start(a) ((a)=(char *)&va_alist+4)
  2266.     #endif
  2267.  
  2268.     #include <stdarg.h>
  2269.     #ifdef __hppa
  2270.     #undef va_start
  2271.     #define va_start(a,b) ((a)=(va_list)&(b))
  2272.     #endif
  2273.  
  2274. For <varargs.h>, this replacement should always work.
  2275.  
  2276. For <stdarg.h>, this replacement will work unless the last fixed
  2277. parameter ("b" in the call to va_start) is a structure larger
  2278. than 8 bytes.  Large structures are passed by reference, with the
  2279. callee responsible for copying the structure to a temporary area
  2280. if it will be modified.  In this case, "&b" will take the address
  2281. of that temporary area instead of the position in the argument
  2282. list, and va_next won't work.  That's why HP uses a compiler
  2283. built-in.
  2284.  
  2285. (Thanks to Cary Coutant, HP for the original and Jeff Law 
  2286.   <law@snake.cs.utah.edu> for the followup)
  2287.   
  2288. ------------------------------
  2289.  
  2290. Subject: 8.6  How can I tell if something was built debuggable?
  2291.  
  2292. If the output of "/usr/contrib/bin/odump -spaces file.o" shows a space
  2293. named $DEBUG$, then it was compiled with -g.
  2294.  
  2295. (Thanks to Fran Litterio <franl@centerline.com>)
  2296.  
  2297. ------------------------------
  2298.  
  2299. Subject: 8.7  Is there some kind of problem with using FLT_MIN in ANSI mode?
  2300.  
  2301. The C compiler dislikes this construct in ANSI mode:
  2302.  
  2303. x = FLT_MIN;    /* <---- warning here */
  2304.  
  2305. The problem is that the ANSI mode (_PROTOTYPES) version of FLT_MIN/FLT_MAX in
  2306. <float.h> end their constants with an F, which seems to upset the compiler.
  2307.  
  2308. The workaround ? Temporarily undef _PROTOTYPES around the <float.h> inclusion:
  2309.  
  2310. #ifdef _PROTOTYPES
  2311. #undef _PROTOTYPES
  2312. #include <float.h>
  2313. #define _PROTOTYPES
  2314. #else
  2315. #include <float.h>
  2316. #endif
  2317.  
  2318. (Thanks to Richard Lloyd of the Liverpool archive.) 
  2319.  
  2320. ------------------------------
  2321.  
  2322. Subject: 8.8  What's the deal with _INCLUDE_xxxx_SOURCE?
  2323.  
  2324. The ANSI standard clearly states what identifiers it reserves, and says the rest
  2325. are available to you, the programmer.  Many "important things" like "ulong" are
  2326. *not* specified by ANSI, so ANSI header files are not allowed by the standard to
  2327. define them.  Each standard supported by HP-UX (POSIX1, POSIX2, XPG2, XPG3,
  2328. XPG4, AES, etc) has its own set of reserved identifiers and header files, and
  2329. the convention is to require "-D_POSIX_SOURCE" (et al) to enabled their
  2330. respective namespaces.  Since HP could not predict what future standards would
  2331. come along and claim more header files and identifiers, it proved much simpler
  2332. to make the namespace as restrictive as possible unless "-D_HPUX_SOURCE" is
  2333. specified.  While this has turned into one the most frequently asked of FAQ's
  2334. about HP-UX, at least once you learn this, you don't have to deal with
  2335. inconsistencies again.  Whereas, had we allowed all non-standard headers to
  2336. define all non-standard symbols, you'd find identifiers randomly "disappearing"
  2337. from headers over time as they were claimed by various standards.
  2338.  
  2339. Also check the man page for "cc -Ae"; it enables the the HPUX_SOURCE namespace.
  2340.  
  2341. (Thanks to Marc Sabatella, HP)
  2342.  
  2343. ------------------------------ 
  2344.  
  2345. Subject: 8.9  How come I need to explicitly specify -I/usr/include?
  2346.  
  2347. You have most likely not updated your C compiler correctly. Patches PHSS_3773 
  2348. (A.09.63), 4061 (A.09.64) and 4151 (A.09.65) REQUIRE that you first install the 
  2349. C compiler from the April 1994 Application CD-ROM (A.09.61).
  2350.  
  2351. (Thanks to Richard Lloyd)
  2352.  
  2353. ------------------------------
  2354.  
  2355. Subject: 8.10  Is there an equivalent for getrusage()?
  2356.  
  2357. From the BSD porting tricks document (thanks, Mike):
  2358.  
  2359. #ifdef hpux
  2360. #include <sys/syscall.h>
  2361. #define getrusage(a, b)  syscall(SYS_GETRUSAGE, a, b)
  2362. #endif /* hpux */
  2363.  
  2364. ------------------------------
  2365.   
  2366. Subject: 9. HARDWARE AND PERIPHERALS
  2367.  
  2368. ------------------------------
  2369.  
  2370. Subject: 9.1  Are alternate keyboards available for HP workstations?
  2371.  
  2372. Yes, HP has two keyboards available for their workstations and X Terminals.
  2373.  
  2374. A1099B - Workstation style keyboard (Default on workstations.)
  2375. A2205A - PC-101 style keyboard (Default on X Terminals.)
  2376.  
  2377. The 712 supports any PC-type keyboard and mouse.
  2378. ------------------------------
  2379.  
  2380. Subject: 9.2  How can I play audio CDs on an HP workstation?
  2381.  
  2382. A contributed application ("xcd") exists that presents a X-window CD player
  2383. front panel.  xcd runs on HP-UX 7.0 and 8.0, on Series 300, 400 and 700, with
  2384. either SCSI or HP-IB CD-ROM drives. The SCSI drives must be HP-supplied or
  2385. Toshiba XM-3201B or XM-3301B. xcd does not yet officially work on HP-UX 9.0,
  2386. but I've tried it and it seems to work just fine. Note that xcd plays only
  2387. through the CD player's headphone jack and not through the workstation's
  2388. speaker.
  2389.  
  2390. xcd is available from the InterWorks workstation user group (see above), 
  2391. on their ftp site, CD-ROM, and via DDS tape.
  2392.   
  2393. Note that source is not available.
  2394.  
  2395. Additionally, two new programs that provide similar functionality have
  2396. recently appeared, called xdp and xmcd. I use xmcd and it's great.
  2397.  
  2398. (Thanks to Bob Niland and others)
  2399.  
  2400. ------------------------------
  2401.  
  2402. Subject: 9.3  How can I enable the LAN interface on a 700?
  2403.  
  2404. This can be problem when the LAN isn't connected at boot time. To
  2405. resolve the problem, use the "reset" command in "landiag".
  2406.   
  2407. ------------------------------
  2408.  
  2409. Subject: 9.4  How can I get an Exabyte to work on an HP?
  2410.  
  2411. People have under HP-UX 8.07 used device files with major number 54,
  2412. minor numbers 0x201202 and 0x201203 for /dev/rmt/2m and /dev/rmt/2mn, 
  2413. respectively, for low density. Other people had used 0x201242 and 0x201243.
  2414.  
  2415. Note that with HP-UX 9.01, low density means 8200 format in 8500 drives.
  2416. Major #54, minor numbers 0x201202 and 0x201203 are low density handles.
  2417. With 8200 drives the density does not matter. Software compression
  2418. control with 8505 drives will require a patch to HP-UX 9.01.
  2419.  
  2420. Caveats: some Exabyte drives will not support a "dump" blocking factor
  2421. greater than 64 from the HP.  Others are apparently limited in the commands
  2422. they will accept (e.g. TTI noted that their 8501 tape drive will not properly
  2423. interface with the HP under all conditions; however, the TTI 8510 does
  2424. interface correctly). TTI had a firmware problem which should be 
  2425. corrected in recent 8510s.
  2426.  
  2427. Note that 8500 drives act as SCSI-2, while 8200s are SCSI-1. People appear
  2428. to have been more successful with getting the 8500s to work with 9.01.
  2429.  
  2430. Experience has also shown that you may need PHKL_2898. People have
  2431. also reported that you need patch PHKL_2838 for HP_UX 9.x to get
  2432. compression to work.
  2433.  
  2434. (Thanks to Mike Peterson for much of this.)
  2435.   
  2436. ------------------------------
  2437.  
  2438. Subject: 9.5  Is there a "node ID" on 700s?
  2439.  
  2440. Yes. Most licensing systems (FlexLM and NetLS, for example), are driven from 
  2441. the LLA, available from /etc/lanscan or /usr/etc/netls/ls_targetid. There is 
  2442. also a CPU ID number that HP uses for /etc/update; it may be a transformation 
  2443. of the LLA, but this is not guaranteed to remain the case, and may be disturbed
  2444. by replacement of the LAN board. Additionally, the LLA can be reset by a 
  2445. CE using the proper secret magic program.
  2446.   
  2447. ------------------------------
  2448.  
  2449. Subject: 9.6  How can I get a stuck DDS tape out of the drive?
  2450.  
  2451. 1)  Power down your machine (remember shutdown!!! ;-))
  2452. 2)  Open it up (you'll prob. need Torx screwdrivers).
  2453. 3)  on the side of the drive, you should see a small rectangular piece
  2454.     of plastic.  gently pry it off... it should come off quite easily.
  2455. 4)  the aforementioned piece of plastic covers a hole, which houses a 
  2456.     small dial.  spinning this dial ejects the tape.  
  2457. 5)  replace plastic piece, close machine... and bob's your uncle.
  2458.  
  2459. p.s.  the dial has very little torque (ie. the tape comes out quite slowly,
  2460. but you can see it move.   It'll take about 2-3 minutes of spinning before 
  2461. the tape comes out.
  2462.  
  2463. (Thanks to Edlin Seebick.)
  2464.   
  2465. ------------------------------
  2466.  
  2467. Subject: 9.7  How can I use dump with a DDS tape?
  2468.  
  2469. dump was written to assume 9-track tapes, so some fudging has
  2470. to be done for DDS tapes.  The following has the info you need
  2471. along with several alternatives for dump parameters.
  2472.  
  2473. Approximate capacity of 60m DDS tape = 1.3G bytes
  2474. Approximate DDS tape density = (1.3G bytes) / (60 m) = (550K bytes/in)
  2475.  
  2476. dump assumes an inter-record gap (IRG) of 0.3 in for density = 6250,
  2477. 0.7 in otherwise.
  2478.  
  2479. dump uses a default blocking factor of 10 for density < 6250,
  2480. 32 otherwise.
  2481. ================
  2482. density = 550000
  2483. blocking factor = 32 (default)
  2484. assumed IRG = 0.7 in
  2485.  
  2486. Block length = (32K bytes/block) / (550K bytes/in) + (0.7 in) = (0.76 in)
  2487.  
  2488. Effective tape length =
  2489.     (1.3G bytes) / (32K bytes/block) * (0.76 in/block) = (2511 ft)
  2490. ================
  2491. density = 6250
  2492. blocking factor = 32 (default)
  2493. assumed IRG = 0.3 in
  2494.  
  2495. Block length = (32K bytes/block) / (6250 bytes/in) + (0.3 in) = (5.54 in)
  2496.  
  2497. Effective tape length =
  2498.     (1.3G bytes) / (32K bytes/block) * (5.54 in/block) = (18325 ft)
  2499. ===============
  2500. density = 1600
  2501. blocking factor = 10 (default)
  2502. assumed IRG = 0.7 in
  2503.  
  2504. Block length = (10K bytes/block) / (1600 bytes/in) + (0.7 in) = (7.10 in)
  2505.  
  2506. Effective tape length =
  2507.     (1.3G bytes) / (10K bytes/block) * (7.10 in/block) = (75113 ft)
  2508. ===============
  2509. density = 1600
  2510. blocking factor = 32
  2511. assumed IRG = 0.7 in
  2512.  
  2513. Block length = (32K bytes/block) / (1600 bytes/in) + (0.7 in) = (21.18 in)
  2514.  
  2515. Effective tape length =
  2516.     (1.3G bytes) / (32K bytes/block) * (21.18 in/block) = (70022 ft)
  2517.  
  2518. (Thanks to Cary Coutant, HP.)
  2519.   
  2520. ------------------------------
  2521.  
  2522. Subject: 9.8  What is the correct major number for DDS drives on 9.x?
  2523.  
  2524. For reasons too detailed to go into here, the major number for DDS drives
  2525. has changed to 121 (from 54) at 9.01. Note that 54 had partition support,
  2526. while 121 does not, but has lun support. This only works for 700s.
  2527.   
  2528. ------------------------------
  2529.  
  2530. Subject: 9.9  How can I set up /dev/audio to point to the external jack on a 700?
  2531.  
  2532. Alter the /dev/audio device file as follows:
  2533.  
  2534. crw-rw-rw-   1 root     sys       57 0x208011  /dev/audio  ; external jack
  2535. crw-rw-rw-   1 root     sys       57 0x208000  /dev/audio  ; internal speaker
  2536.  
  2537. The commands are:
  2538.   mknod /dev/audio c 57 0x2080??   <- replace ?? with 00 or 11 as shown above.
  2539.  
  2540. (Thanks to Lou Kvitek.)
  2541.   
  2542. ------------------------------
  2543.  
  2544. Subject: 9.10  How can I configure the parallel port handshake on a 700?
  2545.  
  2546. Check out the man page for "cent".
  2547.           
  2548. ------------------------------
  2549.  
  2550. Subject: 9.11  What are the specs of the audio hardware on the 700 series?
  2551.  
  2552. This is a summary of the audio features supported by the models 715, 725, 735,
  2553. and 755 workstations.  The 705 and 710 also have audio, but the specs are
  2554. not available. The 720, 730, and 750 models DO NOT have audio.
  2555.  
  2556. Audio features  Programmable sample rates (kHz): 8, 11.025, 16, 
  2557.                     22.05,32, 44.1, 48
  2558.                 Programmable output attenuation: 0 to -96 dB in 1.5 dB steps
  2559.                 Programmable input gain: 0 to 22.5 dB in 1.5 dB steps
  2560.                 Input monitoring
  2561.                 Coding formats: 16-bit linear, 8-bit mulaw, or A-law
  2562.  
  2563. Audio inputs        Line in
  2564. (not on all models) Mono microphone with 1.5V phantom power
  2565.  
  2566. (Editorial comment - a Sun microphone appears to work just fine.)
  2567.  
  2568. Audio outputs       Line out
  2569. (not on all models)    Headphone
  2570.                     Mono speaker jacks
  2571.                     Built-in mono speaker
  2572.  
  2573. Audio CODEC         Crystal CS4215
  2574.  
  2575. Typical specifications measured on a stock 715.  Values will differ only 
  2576. slightly on other models.
  2577.  
  2578. Frequency response    25 - 20,000 Hz
  2579.  
  2580. Input Sensitivity/Impedance
  2581.             Line In        2.0 V(pk) / 47 kohms
  2582.             Microphone  22 mV(pk) / 1 kohm
  2583.  
  2584. Output Impedance (nominal)
  2585.             Line out    619 ohms
  2586.             Headphone   118 ohms
  2587.             Speaker (ext)  11 ohms
  2588.  
  2589. Max Output Level/Impedance
  2590.             Line Out    2.8 V (p-p) / 47 kohms
  2591.             Headphone   2.75 V (p-p) / 50 ohms
  2592.             Speaker (ext)  5.88 V (p-p) / 48 ohms
  2593.  
  2594. Signal to Noise
  2595.             Line In     61 dB
  2596.             Line Out    65 dB
  2597.             Microphone  57 dB
  2598.             Headphone   61 dB
  2599.             Speaker (ext)  63 dB
  2600.  
  2601. THD (at nominal load)
  2602.             Line In     -75 dB
  2603.             Line Out    -73 dB
  2604.             Microphone  -73 dB
  2605.             Headphone   -70 dB
  2606.             Speaker (ext)   -68 dB
  2607.  
  2608. (Thanks to Rocky Craig, HP)
  2609.  
  2610. ------------------------------
  2611.  
  2612. Subject: 9.12  What are the various revisions of PA-RISC?
  2613.  
  2614. PA-RISC 1.1 is an extension to the PA-RISC 1.0 architecture, and is
  2615. fully backwards-compatible (i.e., *all* PA-RISC 1.0 programs will
  2616. execute without change on PA-RISC 1.1 machines).  The biggest difference
  2617. is that PA-RISC 1.1 added 16 more floating-point registers, the ability
  2618. to address each double-precision floating-point register as two
  2619. single-precision registers, and a few new floating-point operations, so
  2620. the floating-point performance is greatly improved.  There were a few
  2621. changes on the integer side, but nothing major.
  2622.  
  2623. The first machines to be shipped with PA-RISC 1.1 CPUs were the first
  2624. Series 700 machines (the "Snakes" series).  Shortly after that, however,
  2625. the "Nova" series of Series 800 (8x7) machines was introduced using the
  2626. same PA-RISC 1.1 CPU.  Since then, every new PA-RISC machine that HP has
  2627. produced is based on the PA-RISC 1.1 architecture.
  2628.  
  2629. Thus, all Series 700 machines are PA-RISC 1.1, and the newer Series 800
  2630. machines are PA-RISC 1.1.  If you compile a program on a Series 700
  2631. machine, the compiler will generate PA-RISC 1.1 code by default, but if
  2632. you compile a program on a Series 800 machine (even a newer 1.1
  2633. machine), the compiler will generate PA-RISC 1.0 code to ensure that the
  2634. program will run within the entire 800 family.
  2635.  
  2636. To force the compiler to generate PA-RISC 1.0 code, you use the +DA 1.0
  2637. compiler option.  This is all you need to do, as long as you are careful
  2638. not to link your code with any libraries that were compiled for PA-RISC
  2639. 1.1.  If *any* object module in your program is compiled for PA-RISC
  2640. 1.1, your entire program will be marked as a PA-RISC 1.1 program.  The
  2641. "file" command will tell you which architecture is required to execute
  2642. your program.  Most system archive libraries that HP ships are compiled
  2643. for PA-RISC 1.0; an exception is the math library, which is shipped in
  2644. both forms (a PA-RISC 1.1 version is in /lib/pa1.1), although the 1.1
  2645. version contains a few entry points that are not available in the 1.0
  2646. version.
  2647.  
  2648. The scheduling option, +DS xxx, does not affect the compatibility of the
  2649. object code.  It affects only how the optimizer schedules instructions
  2650. that have long latencies, so it is usually to your advantage to schedule
  2651. the code for the fastest machine currently shipping, even if you are
  2652. generating 1.0 code.
  2653.  
  2654. When compiling code on one platform for another platform, the thing
  2655. you do have to worry about is the operating system release.  In general
  2656. you can compile a program on a Series 700 machine with +DA 1.0, and it
  2657. will run correctly as long as the program will execute on the same or
  2658. a later release of the OS as the one on which it was compiled.  Thus,
  2659. you cannot expect a program compiled on a 700 running 9.0 to run on
  2660. an 800 running 8.0.
  2661.  
  2662. (Thanks to Cary Coutant, HP)
  2663.  
  2664. ------------------------------
  2665.  
  2666. Subject: 9.13  How do I read an SGI-written tar format DDS tape?
  2667.  
  2668. The secret (at least in this case) is to byte-swap the tape before 
  2669. passing it to tar:
  2670.  
  2671.     dd if=/dev/rmt/0m conv=swab | tar -xvf -
  2672.  
  2673. Byte swapping is believed to only be necessary if the SGI machine that made 
  2674. the tape is running Irix 4.0 and under, and that if it's running Irix 5.0x 
  2675. and above, a large (512k) block size is used:
  2676.  
  2677.     dd if=/dev/rmt/0m ibs=512k obs=10k| tar -xvf -
  2678.  
  2679. (thanks to Paul Booth <paul@eye.com>)
  2680.  
  2681. ------------------------------
  2682.  
  2683. Subject: 9.14! Is there a trackball for the 700?
  2684.  
  2685. ITAC Systems supports a Mouse-trak trackball for HP-HIL (all 700s but
  2686. the 712). The 712, of course, can use any PC-style trackball.
  2687.  
  2688. ITAC no longer offers a 'quadrature' model of the track-ball.  This wasn't a
  2689. direct connection because you had to buy a quadrature-to-HIL convertor which
  2690. was several hundred $.  They now sell  regular serial port track-ball units
  2691. which they claim you can configure  as the default pointing device in HP-VUE. 
  2692. The 'quadrature' device will, however, directly connect to Apollo (or HP400's
  2693. under Domain/OS) keyboards in place of the mouse.
  2694.  
  2695. The 700/RX terminals claim to use standard PS/2 keyboards.  One would assume
  2696. that this extends to mice and/or mouse emulators.
  2697.  
  2698. (thanks to Jeff Dwork, AMD, and Tom Myers, Delco)
  2699.  
  2700. ------------------------------
  2701.  
  2702. Subject: 9.15  Where can I get disktab entries for third party disks?
  2703.  
  2704. Generally, the supplier should provide a disktab entry. Andataco does a good
  2705. job of this. One place to try:
  2706.  
  2707. http://siihp.epfl.ch/HPUX/tools/disktab.html
  2708.  
  2709. You can submit new entries via:
  2710.  
  2711. http://siihp.epfl.ch/HPUX/tools/add_dtab.html
  2712.  
  2713. Additionally, Ion has set up a mail service; to access it, send e-mail to 
  2714. <mailer@siihp.epfl.ch> and respect the following syntax for the subject 
  2715. field:
  2716.  
  2717. disktab table - returns the available disktab file
  2718. disktab how - returns two methods to create a new disktab entry from scratch
  2719.  
  2720. Send any comments, remarks, problems AND new tested disktab entries to
  2721. <ion.cionca@sic.adm.epfl.ch>
  2722.  
  2723. (thanks to Ion Cionca)
  2724.  
  2725. ------------------------------
  2726.  
  2727. Subject: 9.16  Do I need to terminate the internal SCSI on a 700?
  2728.  
  2729. According to some people, an unterminated internal SCSI on a 700
  2730. will cause interrupts which are ignored but slow down the machine.
  2731. Terminate to be safe.
  2732.  
  2733. ------------------------------
  2734.  
  2735. Subject: 10. LOOKING FOR...
  2736.  
  2737. ------------------------------
  2738.  
  2739. Subject: 10.1  Where did xline go at 9.x?
  2740.  
  2741. We don't know. The 9.x Motif version of Glance Plus has what xline had
  2742. (and more).
  2743.  
  2744. ------------------------------
  2745.  
  2746. Subject: 10.2  How about the VUE 2.01 man page help index?
  2747.  
  2748. The man pages will show up in the index if you copy over pre-9.X copies 
  2749. of the files "/usr/lib/X11/vue/help/C/manpage.cat", and 
  2750. "/usr/lib/X11/vue/help/C/manpage/*".
  2751.  
  2752. (Thanks, Mike Stroyan, HP)
  2753.  
  2754. ------------------------------
  2755.  
  2756. Subject: 10.3  Is there anything remotely like the Apollo DM available?
  2757.  
  2758. HP has a product called DMX which is somewhat like the DM. Enabling
  2759. Technologies has a product called "ce" which seems to be a more faithful
  2760. interpretation. Demo copies are available from 
  2761. ftp://ftp.std.com/ftp/vendors/ETG.
  2762.  
  2763. ------------------------------
  2764. Subject: 10.4! Where can I get SLIP for HP-UX?
  2765.  
  2766. On HP 9000 systems (both workstations and servers) SLIP is called ppl 
  2767. and is a part of the LAN/9000 Link product.
  2768.  
  2769. (Thanks to Mike Taylor and Alec Henderson, HP)
  2770.   
  2771. ------------------------------
  2772.  
  2773. Subject: 10.5  Where can I get pcnfsd on HP-UX?
  2774.  
  2775. It's part of the standard NFS distribution.
  2776.  
  2777. ------------------------------
  2778.  
  2779. Subject: 10.6  Where can I get ppp for HP-UX?
  2780.  
  2781. Morningstar has a commercial implementation available. See
  2782. ftp://ftp.morningstar.com for more details.
  2783.  
  2784. (thanks to Cricket Liu, <cricket@nsr.hp.com>)
  2785.  
  2786. ------------------------------
  2787.  
  2788. Subject: 10.7! Where can I get STREAMS for HP-UX?
  2789.  
  2790. STREAMS/UX is currently a separate product that can be purchased for use
  2791. with HP-UX 9.x.  STREAMS/UX is based on the OSF/1 STREAMS code (which
  2792. in turn is based on STREAMS code from Mentat).  You can obtain a 
  2793. STREAMS/UX datasheet from the HP FIRST fax-back service: 800-333-1917
  2794. or 208-344-4809, document 31502. HP currently plans to bundle it
  2795. with 10.x.
  2796.  
  2797. (thanks to Alec Henderson, HP)
  2798.  
  2799. ------------------------------
  2800.  
  2801. Subject: 10.8  What about POSIX threads?
  2802.  
  2803. POSIX user-space threads are currently available as part of the DCE
  2804. product, which includes thread-safe C libraries.
  2805.  
  2806. ------------------------------
  2807.  
  2808. Subject: 10.9+ Where can I get Interviews for HP-UX?
  2809.  
  2810. HP has a product called Interviews Plus. The product number is B2625A for 
  2811. Series 800 and B2626A for Series 700 systems.
  2812.  
  2813. (Thanks to Rob Slotemaker, HP).
  2814.  
  2815. ------------------------------
  2816.  
  2817. Subject: 10.10+ Where can I get POP for HP-UX?
  2818.  
  2819. pop3d is available from the Interworks archive site listed in 3.12.
  2820.  
  2821. ------------------------------
  2822.  
  2823. Subject: 10.11+ Where can I get sudo for HP-UX?
  2824.  
  2825. CU sudo 1.3 and higher supports hpux.  Your best bet is
  2826. to grab pub/sysadmin/utilities/cu-sudo.v1.3.1-beta9.tar.Z from
  2827. ftp.cs.colorado.edu.  
  2828.  
  2829. (Thanks to Todd Miller, <millert@cs.Colorado.EDU>)
  2830.  
  2831. ------------------------------
  2832.  
  2833.  
  2834. -- 
  2835. Greg Cagle                  |
  2836. Mentor Graphics Corporation | "Rosalita, jump a little higher..."
  2837. greg_cagle@mentorg.com      |
  2838. (503)685-1570               |
  2839.  
  2840.  
  2841.  
  2842.  
  2843.